lib/ruby-tmdb3/tmdb_movie.rb in ruby-tmdb3-0.3.1 vs lib/ruby-tmdb3/tmdb_movie.rb in ruby-tmdb3-0.3.2
- old
+ new
@@ -1,9 +1,10 @@
class TmdbMovie
def self.find(options)
options = {
- :expand_results => true
+ :expand_results => true,
+ :language => Tmdb.default_language
}.merge(options)
raise ArgumentError, "At least one of: id, title, imdb should be supplied" if(options[:id].nil? && options[:title].nil? && options[:imdb].nil?)
results = []