Class: Traktr::Genres
Instance Method Summary collapse
Methods inherited from Endpoint
Constructor Details
This class inherits a constructor from Traktr::Endpoint
Instance Method Details
#movies ⇒ Object
3 4 5 |
# File 'lib/traktr/genres.rb', line 3 def movies parse_response self.class.get('/' + File.join('movies.json', @client.api_key)) end |
#shows ⇒ Object
7 8 9 |
# File 'lib/traktr/genres.rb', line 7 def shows parse_response self.class.get('/' + File.join('shows.json', @client.api_key)) end |