Sha256: abf28d5fcccfcaa0dc9c2509f75fa34437c048a9735a8941a18bfd2a7e3aa90b
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
require 'cinema_information/attribute_helper' class CinemaObject include AttributeHelper def initialize(hash) self.attributes = hash end def mois @mois end def cine1 @cinema1 end def cine2 @cinema2 end def film1(day) @daily_schedule[day.to_s][:film1] end def film2(day) @daily_schedule[day.to_s][:film2] end def film3(day) @daily_schedule[day.to_s][:film3] end def film4(day) @daily_schedule[day.to_s][:film4] end def horaire1(day) @daily_schedule[day.to_s][:horaire1] end def horaire2(day) @daily_schedule[day.to_s][:horaire2] end def id(movie) @result[movie.to_s][:id].to_s end def poster(movie) @result[movie.to_s][:poster] end def title(movie) @result[movie.to_s][:title] end def title_list(movie) @result[movie.to_s][:title_list] end def overview(movie) @result[movie.to_s][:synopsis] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ods_tmdb_GB-0.0.5 | lib/cinema_information/cinema_object.rb |