module TmdbRexx::Client::Company
Constants
- RESOURCE
Public Instance Methods
company(company_id, options = {})
click to toggle source
This method is used to retrieve all of the basic information about a company.
@see docs.themoviedb.apiary.io/#reference/companyid
@param [String] company_id the id of the company
@return [Hashie::Mash] companyies response
@example Get the companys api response
TmdbRexx::Client.company("company-id")
# File lib/tmdb_rexx/client/company.rb, line 17 def company(company_id, options = {}) get([RESOURCE, company_id].join("/"), options) end
company_movies(company_id, options = {})
click to toggle source
Get the list of movies associated with a particular company.
@see docs.themoviedb.apiary.io/#reference/companyidmovies
@param [String] company_id the id of the company
@return [Hashie::Mash] companies response
@example Get the movies for the company api response
TmdbRexx::Client.company_movies("company-id")
# File lib/tmdb_rexx/client/company.rb, line 32 def company_movies(company_id, options = {}) get([RESOURCE, company_id, "movies"].join("/"), options) end