Class: TraktApi::Shows

Inherits:
Base
  • Object
show all
Defined in:
lib/trakt_api/shows.rb

Defined Under Namespace

Classes: Seasons

Instance Method Summary collapse

Methods inherited from Base

#params

Instance Method Details

#find(options) ⇒ Object



2
3
4
# File 'lib/trakt_api/shows.rb', line 2

def find(options)
  find_path_with_params(options).get
end

#find_url(options) ⇒ Object



6
7
8
# File 'lib/trakt_api/shows.rb', line 6

def find_url(options)
  find_path_with_params(options).url
end

#seasonsObject



10
11
12
# File 'lib/trakt_api/shows.rb', line 10

def seasons
  @seasons ||= TraktApi::Shows::Seasons.new(@config)
end