Class: Trakt::Genres

Inherits:
Object
  • Object
show all
Includes:
Connection
Defined in:
lib/trakt/genres.rb

Instance Attribute Summary

Attributes included from Connection

#trakt

Instance Method Summary collapse

Methods included from Connection

#initialize, #require_settings

Instance Method Details

#moviesObject



4
5
6
7
# File 'lib/trakt/genres.rb', line 4

def movies
  require_settings %w|apikey|
  get "/genres/movies.json",''
end

#showsObject



8
9
10
11
# File 'lib/trakt/genres.rb', line 8

def shows
  require_settings %w|apikey|
  get "/genres/shows.json",''
end