Class: Chiketto::Attendee
Instance Attribute Summary collapse
-
#assigned_number ⇒ Object
Returns the value of attribute assigned_number.
-
#event_id ⇒ Object
Returns the value of attribute event_id.
-
#order_id ⇒ Object
Returns the value of attribute order_id.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#status ⇒ Object
Returns the value of attribute status.
-
#ticket_class_id ⇒ Object
Returns the value of attribute ticket_class_id.
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
endpoint, get, #initialize, legacy_endpoint, open_post, post, query, token
Methods included from AttrDSL
Constructor Details
This class inherits a constructor from Chiketto::Resource
Instance Attribute Details
#assigned_number ⇒ Object
Returns the value of attribute assigned_number.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def assigned_number @assigned_number end |
#event_id ⇒ Object
Returns the value of attribute event_id.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def event_id @event_id end |
#order_id ⇒ Object
Returns the value of attribute order_id.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def order_id @order_id end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def quantity @quantity end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def status @status end |
#ticket_class_id ⇒ Object
Returns the value of attribute ticket_class_id.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def ticket_class_id @ticket_class_id end |
Instance Method Details
#profile ⇒ Object
13 14 15 |
# File 'lib/chiketto/attendee.rb', line 13 def profile AttendeeProfile.new @profile.to_h end |