lib/movlog/movie.rb in movlog-0.3.7 vs lib/movlog/movie.rb in movlog-0.3.8
- old
+ new
@@ -2,12 +2,12 @@
require_relative 'omdb_api'
module Movlog
# Movie info
class Movie
- attr_reader :imdb_id, :type, :title, :year, :poster
- attr_reader :rating, :plot, :runtime
+ attr_reader :imdb_id, :type, :title, :year, :released, :poster
+ attr_reader :rating, :plot, :runtime, :genre
attr_reader :awards, :director, :actors
attr_reader :country, :language
attr_reader :response
attr_reader :location
@@ -40,10 +40,9 @@
@awards = details['Awards']
@director = details['Director']
@actors = details['Actors']
@country = details['Country']
@language = details['Language']
- @year = details['Year']
@released = details['Released']
@genre = details['Genre']
end
end
end