Class: Edboxra::Movie

Inherits:
Object
  • Object
show all
Defined in:
lib/edboxra/movie.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actorsObject

Returns the value of attribute actors.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def actors
  @actors
end

#blu_rayObject

Returns the value of attribute blu_ray.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def blu_ray
  @blu_ray
end

#descriptionObject

Returns the value of attribute description.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def description
  @description
end

#genreObject

Returns the value of attribute genre.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def genre
  @genre
end

#genre_idsObject

Returns the value of attribute genre_ids.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def genre_ids
  @genre_ids
end

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def id
  @id
end

#imageObject

Returns the value of attribute image.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def image
  @image
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def name
  @name
end

#ratingObject

Returns the value of attribute rating.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def rating
  @rating
end

#release_dateObject

Returns the value of attribute release_date.



2
3
4
# File 'lib/edboxra/movie.rb', line 2

def release_date
  @release_date
end

#running_timeObject

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

Returns:

  • (Boolean)


6
7
8
# File 'lib/edboxra/movie.rb', line 6

def blu_ray?
  blu_ray == true
end