class OdeonApi::Cinema

Public Class Methods

all() click to toggle source
# File lib/odeon_api/models/cinema.rb, line 4
def self.all
  build_collection(
    OdeonApi::Requester.get('all-cinemas')["data"]["sites"].map {|x| x[1]},
    CinemaRepresenter
  )
end
find(id) click to toggle source
# File lib/odeon_api/models/cinema.rb, line 11
def self.find(id)
end
find_by_name(name) click to toggle source
# File lib/odeon_api/models/cinema.rb, line 14
def self.find_by_name(name)
end