Class: Chiketto::Attendee

Inherits:
Resource show all
Defined in:
lib/chiketto/attendee.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#id

Instance Method Summary collapse

Methods inherited from Resource

endpoint, get, #initialize, legacy_endpoint, open_post, post, query, token

Methods included from AttrDSL

included

Constructor Details

This class inherits a constructor from Chiketto::Resource

Instance Attribute Details

#assigned_numberObject

Returns the value of attribute assigned_number.



3
4
5
# File 'lib/chiketto/attendee.rb', line 3

def assigned_number
  @assigned_number
end

#event_idObject

Returns the value of attribute event_id.



3
4
5
# File 'lib/chiketto/attendee.rb', line 3

def event_id
  @event_id
end

#order_idObject

Returns the value of attribute order_id.



3
4
5
# File 'lib/chiketto/attendee.rb', line 3

def order_id
  @order_id
end

#quantityObject

Returns the value of attribute quantity.



3
4
5
# File 'lib/chiketto/attendee.rb', line 3

def quantity
  @quantity
end

#statusObject

Returns the value of attribute status.



3
4
5
# File 'lib/chiketto/attendee.rb', line 3

def status
  @status
end

#ticket_class_idObject

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

#profileObject



13
14
15
# File 'lib/chiketto/attendee.rb', line 13

def profile
  AttendeeProfile.new @profile.to_h
end