Class: MovieInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/model/movie_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(omelete_id, name) ⇒ MovieInfo

Returns a new instance of MovieInfo.



5
6
7
# File 'lib/model/movie_info.rb', line 5

def initialize(omelete_id, name)
  self.omelete_id, self.name = omelete_id, name
end

Instance Attribute Details

#age_ratingObject

Returns the value of attribute age_rating.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def age_rating
  @age_rating
end

#castObject

Returns the value of attribute cast.



3
4
5
# File 'lib/model/movie_info.rb', line 3

def cast
  @cast
end

#directed_byObject

Returns the value of attribute directed_by.



3
4
5
# File 'lib/model/movie_info.rb', line 3

def directed_by
  @directed_by
end

#genreObject

Returns the value of attribute genre.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def genre
  @genre
end

#imageObject

Returns the value of attribute image.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def image
  @image
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def name
  @name
end

#omelete_idObject

Returns the value of attribute omelete_id.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def omelete_id
  @omelete_id
end

#release_dateObject

Returns the value of attribute release_date.



3
4
5
# File 'lib/model/movie_info.rb', line 3

def release_date
  @release_date
end

#runtimeObject

Returns the value of attribute runtime.



2
3
4
# File 'lib/model/movie_info.rb', line 2

def runtime
  @runtime
end

#synopsisObject

Returns the value of attribute synopsis.



3
4
5
# File 'lib/model/movie_info.rb', line 3

def synopsis
  @synopsis
end