Class: Edboxra::Movie
- Inherits:
-
Object
- Object
- Edboxra::Movie
- Defined in:
- lib/edboxra/movie.rb
Instance Attribute Summary collapse
-
#actors ⇒ Object
Returns the value of attribute actors.
-
#blu_ray ⇒ Object
Returns the value of attribute blu_ray.
-
#description ⇒ Object
Returns the value of attribute description.
-
#genre ⇒ Object
Returns the value of attribute genre.
-
#genre_ids ⇒ Object
Returns the value of attribute genre_ids.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image ⇒ Object
Returns the value of attribute image.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#release_date ⇒ Object
Returns the value of attribute release_date.
-
#running_time ⇒ Object
Returns the value of attribute running_time.
Instance Method Summary collapse
Instance Attribute Details
#actors ⇒ Object
Returns the value of attribute actors.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def actors @actors end |
#blu_ray ⇒ Object
Returns the value of attribute blu_ray.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def blu_ray @blu_ray end |
#description ⇒ Object
Returns the value of attribute description.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def description @description end |
#genre ⇒ Object
Returns the value of attribute genre.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def genre @genre end |
#genre_ids ⇒ Object
Returns the value of attribute genre_ids.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def genre_ids @genre_ids end |
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def id @id end |
#image ⇒ Object
Returns the value of attribute image.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def image @image end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def name @name end |
#rating ⇒ Object
Returns the value of attribute rating.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def @rating end |
#release_date ⇒ Object
Returns the value of attribute release_date.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def release_date @release_date end |
#running_time ⇒ Object
Returns the value of attribute running_time.
2 3 4 |
# File 'lib/edboxra/movie.rb', line 2 def running_time @running_time end |
Instance Method Details
#blu_ray? ⇒ Boolean
6 7 8 |
# File 'lib/edboxra/movie.rb', line 6 def blu_ray? blu_ray == true end |