Class: Chiketto::Attendee
Instance Attribute Summary collapse
-
#answers ⇒ Object
Returns the value of attribute answers.
-
#assigned_number ⇒ Object
Returns the value of attribute assigned_number.
-
#barcodes ⇒ Object
Returns the value of attribute barcodes.
-
#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
build_query_string, endpoint, get, #initialize, open_post, paginated, post, should_paginate, token
Methods included from AttrDSL
Constructor Details
This class inherits a constructor from Chiketto::Resource
Instance Attribute Details
#answers ⇒ Object
Returns the value of attribute answers.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def answers @answers end |
#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 |
#barcodes ⇒ Object
Returns the value of attribute barcodes.
3 4 5 |
# File 'lib/chiketto/attendee.rb', line 3 def @barcodes 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
15 16 17 |
# File 'lib/chiketto/attendee.rb', line 15 def profile AttendeeProfile.new @profile.to_h end |