Class: Skiddle::Event
- Defined in:
- lib/skiddle/event.rb
Class Method Summary collapse
Methods inherited from Document
demodulize, #fields, #initialize
Constructor Details
This class inherits a constructor from Skiddle::Document
Class Method Details
.find_by_event_id(event_id) ⇒ Object
3 4 5 |
# File 'lib/skiddle/event.rb', line 3 def self.find_by_event_id(event_id) Client.make_request(Event, "/events/#{event_id}") end |
.search(params = {}) ⇒ Object
7 8 9 |
# File 'lib/skiddle/event.rb', line 7 def self.search(params = {}) Client.make_request(Event, "/events", params) end |