Class: AtTheMovies::Interview

Inherits:
Object
  • Object
show all
Defined in:
lib/at_the_movies/interview.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title, date, interviewee, interviewer, url) ⇒ Interview

Returns a new instance of Interview.



5
6
7
8
9
10
11
# File 'lib/at_the_movies/interview.rb', line 5

def initialize(title, date, interviewee, interviewer, url)
  @title = title
  @date = date
  @interviewee = interviewee
  @interviewer = interviewer
  @url = url
end

Instance Attribute Details

#dateObject (readonly)

Returns the value of attribute date.



3
4
5
# File 'lib/at_the_movies/interview.rb', line 3

def date
  @date
end

#intervieweeObject (readonly)

Returns the value of attribute interviewee.



3
4
5
# File 'lib/at_the_movies/interview.rb', line 3

def interviewee
  @interviewee
end

#interviewerObject (readonly)

Returns the value of attribute interviewer.



3
4
5
# File 'lib/at_the_movies/interview.rb', line 3

def interviewer
  @interviewer
end

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/at_the_movies/interview.rb', line 3

def title
  @title
end

#urlObject (readonly)

Returns the value of attribute url.



3
4
5
# File 'lib/at_the_movies/interview.rb', line 3

def url
  @url
end