Class: Skiddle::Venue

Inherits:
Document
  • Object
show all
Defined in:
lib/skiddle/venue.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_venue_id(venue_id) ⇒ Object



3
4
5
# File 'lib/skiddle/venue.rb', line 3

def self.find_by_venue_id(venue_id)
  Client.make_request(Venue, "/venues/#{venue_id}")
end

.search(params = {}) ⇒ Object



7
8
9
# File 'lib/skiddle/venue.rb', line 7

def self.search(params = {})
  Client.make_request(Venue, "/venues", params)
end