Class: Eventbrite::Format
- Inherits:
-
APIResource
- Object
- EventbriteObject
- APIResource
- Eventbrite::Format
- Defined in:
- lib/eventbrite/resources/format.rb
Instance Attribute Summary
Attributes inherited from EventbriteObject
Class Method Summary collapse
Methods inherited from APIResource
class_name, #refresh, retrieve, #url
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
.all(params = {}, token = nil) ⇒ Object
8 9 10 11 |
# File 'lib/eventbrite/resources/format.rb', line 8 def self.all(params={}, token=nil) response, token = Eventbrite.request(:get, url, token, params) Util.convert_to_eventbrite_object(response, token) end |
.url ⇒ Object
3 4 5 6 |
# File 'lib/eventbrite/resources/format.rb', line 3 def self.url # NOTE: even thought eb docs say '/format', it is '/formats' "/formats/" end |