class Tmdby::Collections

Public Class Methods

get(id, optional_params = {}) click to toggle source

Get the basic collection information for a specific collection id.

# File lib/tmdby/wrappers/collections.rb, line 7
def self.get(id, optional_params = {})
  self.fetch id,
              optional_params,
              authorized_params: ["language", "append_to_response"]
end
images(id, optional_params = {}) click to toggle source

Get all of the images for a particular collection by collection id.

# File lib/tmdby/wrappers/collections.rb, line 14
def self.images(id, optional_params = {})
  self.fetch "#{id}/images",
              optional_params,
              authorized_params: ["language","append_to_response", "include_image_language"]
end