ruby-tmdb
ruby-tmdb copied to clipboard
TmdbList addition
Added new class TmdbList with 4 new methods to retrieve data from tmdb.
list = TmdbList.upcoming list = TmdbList.now_playing list = TmdbList.top_rated list = TmdbList.popular
each method has an optional page and language arguments list = TmdbList.popular(2,"EN")
a TmdbList instance has theses accessors
attr_accessor :page, :movie_ids, :total_pages, :total_results, :movies_data, :movies
list.movies_data is the original json data list.movies is an array of TmdbList::Movie objects.
a TmdbList::Movie object has these accessors. attr_accessor :backdrop_path, :id, :original_title, :release_date, :poster_path, :title, :vote_average, :vote_count
Sorry for the delay, @KellyMahan, I was fixing the test suite inside TravisCI before read and test your pull request.
Great addition in the gem. Could you document TmdbList
methods in README file?
Sorry for all the commits. Were will be using this gem in production soon and I've been adding to it as needed.
@KellyMahan Can you verify your last commits? It seems your last commit introduced a conflict, so I can't merge it.
You can also see Travis CI build history.
It looks like TmdbList never made it into Master? Any chance that could get merged?
Sorry, @vgkids. I can't merge it while the branch have conflicts.
@KellyMahan do you still want to solve them?