Class: Apadmi::Grout::JiraFindTicketsOptions
- Inherits:
-
FindTicketsOptions
- Object
- FindTicketsOptions
- Apadmi::Grout::JiraFindTicketsOptions
- Defined in:
- lib/apadmi/grout/models/find_tickets_options.rb
Overview
Jira specific find tickets options
Instance Attribute Summary collapse
-
#include_no_sprint_tickets ⇒ Object
readonly
Returns the value of attribute include_no_sprint_tickets.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(include_no_sprint_tickets: false) ⇒ JiraFindTicketsOptions
constructor
A new instance of JiraFindTicketsOptions.
- #state ⇒ Object
Constructor Details
#initialize(include_no_sprint_tickets: false) ⇒ JiraFindTicketsOptions
Returns a new instance of JiraFindTicketsOptions.
13 14 15 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 13 def initialize(include_no_sprint_tickets: false) @include_no_sprint_tickets = include_no_sprint_tickets end |
Instance Attribute Details
#include_no_sprint_tickets ⇒ Object (readonly)
Returns the value of attribute include_no_sprint_tickets.
10 11 12 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 10 def include_no_sprint_tickets @include_no_sprint_tickets end |
Instance Method Details
#==(other) ⇒ Object
17 18 19 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 17 def ==(other) other.class == self.class && other.state == state end |
#state ⇒ Object
21 22 23 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 21 def state [@include_no_sprint_tickets] end |