Class: Apadmi::Grout::AdoFindTicketsOptions
- Inherits:
-
FindTicketsOptions
- Object
- FindTicketsOptions
- Apadmi::Grout::AdoFindTicketsOptions
- Defined in:
- lib/apadmi/grout/models/find_tickets_options.rb
Overview
Ado specific find tickets options
Instance Attribute Summary collapse
-
#additional_fields ⇒ Object
readonly
Returns the value of attribute additional_fields.
-
#not_tags ⇒ Object
readonly
Returns the value of attribute not_tags.
-
#required_tags ⇒ Object
readonly
Returns the value of attribute required_tags.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(required_tags: [], not_tags: [], additional_fields: {}) ⇒ AdoFindTicketsOptions
constructor
A new instance of AdoFindTicketsOptions.
- #state ⇒ Object
Constructor Details
#initialize(required_tags: [], not_tags: [], additional_fields: {}) ⇒ AdoFindTicketsOptions
Returns a new instance of AdoFindTicketsOptions.
30 31 32 33 34 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 30 def initialize(required_tags: [], not_tags: [], additional_fields: {}) @required_tags = @not_tags = @additional_fields = additional_fields end |
Instance Attribute Details
#additional_fields ⇒ Object (readonly)
Returns the value of attribute additional_fields.
28 29 30 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 28 def additional_fields @additional_fields end |
#not_tags ⇒ Object (readonly)
Returns the value of attribute not_tags.
28 29 30 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 28 def @not_tags end |
#required_tags ⇒ Object (readonly)
Returns the value of attribute required_tags.
28 29 30 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 28 def @required_tags end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 36 def ==(other) other.class == self.class && other.state == state end |
#state ⇒ Object
40 41 42 |
# File 'lib/apadmi/grout/models/find_tickets_options.rb', line 40 def state [@required_tags, @not_tags, @additional_fields] end |