Class: VividSeats::Performer

Inherits:
Object
  • Object
show all
Defined in:
lib/vivid_seats/performer.rb

Instance Method Summary collapse

Instance Method Details

#all(query = {}) ⇒ Object



3
4
5
# File 'lib/vivid_seats/performer.rb', line 3

def all(query={})
  API.performers(query)
end

#find(performer_id) ⇒ Object



7
8
9
# File 'lib/vivid_seats/performer.rb', line 7

def find(performer_id)
  all(:performerId => performer_id).first
end