Class: Eventbrite::Attendee
- Inherits:
-
APIArrayResource
- Object
- EventbriteObject
- APIResource
- APIArrayResource
- Eventbrite::Attendee
- Defined in:
- lib/eventbrite/resources/attendee.rb
Instance Attribute Summary
Attributes inherited from EventbriteObject
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from APIArrayResource
Methods inherited from APIResource
Methods inherited from EventbriteObject
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #next?, #next_page, #paginated?, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Eventbrite::EventbriteObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eventbrite::EventbriteObject
Class Method Details
.retrieve(event_id, id, token = nil) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/eventbrite/resources/attendee.rb', line 3 def self.retrieve(event_id, id, token=nil) instance = self.new(id, token) instance.event_id = event_id instance.refresh instance end |
Instance Method Details
#url ⇒ Object
10 11 12 |
# File 'lib/eventbrite/resources/attendee.rb', line 10 def url "/events/#{CGI.escape(self.event_id)}#{self.class.url}/#{CGI.escape(self.id)}" end |