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

build_query_string, endpoint, get, #initialize, open_post, paginated, post, should_paginate, token

Methods included from AttrDSL

included

Constructor Details

This class inherits a constructor from Chiketto::Resource

Instance Attribute Details

#answersObject

Returns the value of attribute answers.



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

def answers
  @answers
end

#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

#barcodesObject

Returns the value of attribute barcodes.



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

def barcodes
  @barcodes
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



15
16
17
# File 'lib/chiketto/attendee.rb', line 15

def profile
  AttendeeProfile.new @profile.to_h
end