Class: Traktr::User::Library::Movies
Instance Method Summary
collapse
Methods inherited from Endpoint
#initialize
Instance Method Details
#all(username = @client.username, extended = :min) ⇒ Object
5
6
7
|
# File 'lib/traktr/user/library/movies.rb', line 5
def all(username = @client.username, extended = :min)
parse_response self.class.get('/' + File.join('all.json', @client.api_key, username, extended.to_s))
end
|
#collection(username = @client.username, extended = :min) ⇒ Object
9
10
11
|
# File 'lib/traktr/user/library/movies.rb', line 9
def collection(username = @client.username, extended = :min)
parse_response self.class.get('/' + File.join('collection.json', @client.api_key, username, extended.to_s))
end
|
#watched(username = @client.username, extended = :min) ⇒ Object
13
14
15
|
# File 'lib/traktr/user/library/movies.rb', line 13
def watched(username = @client.username, extended = :min)
parse_response self.class.get('/' + File.join('watched.json', @client.api_key, username, extended.to_s))
end
|