Class: Traktr::Genres

Inherits:
Endpoint show all
Defined in:
lib/traktr/genres.rb

Instance Method Summary collapse

Methods inherited from Endpoint

#initialize

Constructor Details

This class inherits a constructor from Traktr::Endpoint

Instance Method Details

#moviesObject



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

#showsObject



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