Class: TraktApi::Shows::Seasons

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

Defined Under Namespace

Classes: Episodes

Instance Method Summary collapse

Methods inherited from Base

#params

Instance Method Details

#all(options) ⇒ Object



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

def all(options)
  all_path_with_params(options).get
end

#all_url(options) ⇒ Object



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

def all_url(options)
  all_path_with_params(options).url
end

#episodesObject



18
19
20
# File 'lib/trakt_api/shows/seasons.rb', line 18

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

#find(options) ⇒ Object



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

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

#find_url(options) ⇒ Object



14
15
16
# File 'lib/trakt_api/shows/seasons.rb', line 14

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