Class: Moviemeter::Screening

Inherits:
Object
  • Object
show all
Defined in:
lib/moviemeter/screening.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(time, values, client) ⇒ Screening

Returns a new instance of Screening.



5
6
7
8
9
# File 'lib/moviemeter/screening.rb', line 5

def initialize(time, values, client)
	@time = time
	@movie = Movie.new(values, client)
	@channel = values['channel']
end

Instance Attribute Details

#channelObject (readonly)

Returns the value of attribute channel.



3
4
5
# File 'lib/moviemeter/screening.rb', line 3

def channel
  @channel
end

#movieObject (readonly)

Returns the value of attribute movie.



3
4
5
# File 'lib/moviemeter/screening.rb', line 3

def movie
  @movie
end

#timeObject (readonly)

Returns the value of attribute time.



3
4
5
# File 'lib/moviemeter/screening.rb', line 3

def time
  @time
end