Class: TicketflyPlus::Requestors::Event
- Defined in:
- lib/ticketfly_plus/requestors.rb
Constant Summary collapse
- EVENT_STRING =
'/events'
Constants inherited from Base
Instance Attribute Summary collapse
-
#eventId ⇒ Object
Returns the value of attribute eventId.
-
#fieldGroup ⇒ Object
Returns the value of attribute fieldGroup.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#showRelatedEvents ⇒ Object
Returns the value of attribute showRelatedEvents.
-
#skin ⇒ Object
Returns the value of attribute skin.
Instance Method Summary collapse
- #event ⇒ Object
-
#initialize(options = {}) ⇒ Event
constructor
A new instance of Event.
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ Event
Returns a new instance of Event.
133 134 135 136 137 138 139 140 |
# File 'lib/ticketfly_plus/requestors.rb', line 133 def initialize( = {}) super @eventId = stringify('eventId=', [:eventId]) @fields = stringify('fields=', [:fields]) @fieldsGroup = stringify('fieldsGroup=', [:fieldsGroup]) @showRelatedEvents = stringify('showRelatedEvents=', [:showRelatedEvents]) @skin = stringify('skin=', [:skin]) end |
Instance Attribute Details
#eventId ⇒ Object
Returns the value of attribute eventId.
127 128 129 |
# File 'lib/ticketfly_plus/requestors.rb', line 127 def eventId @eventId end |
#fieldGroup ⇒ Object
Returns the value of attribute fieldGroup.
128 129 130 |
# File 'lib/ticketfly_plus/requestors.rb', line 128 def fieldGroup @fieldGroup end |
#fields ⇒ Object
Returns the value of attribute fields.
129 130 131 |
# File 'lib/ticketfly_plus/requestors.rb', line 129 def fields @fields end |
#showRelatedEvents ⇒ Object
Returns the value of attribute showRelatedEvents.
130 131 132 |
# File 'lib/ticketfly_plus/requestors.rb', line 130 def @showRelatedEvents end |
#skin ⇒ Object
Returns the value of attribute skin.
131 132 133 |
# File 'lib/ticketfly_plus/requestors.rb', line 131 def skin @skin end |
Instance Method Details
#event ⇒ Object
142 143 144 |
# File 'lib/ticketfly_plus/requestors.rb', line 142 def event TicketflyPlus::Calls::List.new(requestor_string: EVENT_STRING, params_list: get_params_list.join.to_s) end |