Class: Traktr::User::Progress
Instance Method Summary
collapse
Methods inherited from Endpoint
#initialize
Instance Method Details
#collected(username = @client.username, title = :all, sort = :title, extended = :min) ⇒ Object
4
5
6
|
# File 'lib/traktr/user/progress.rb', line 4
def collected(username = @client.username, title = :all, sort = :title, extended = :min)
parse_response self.class.get('/' + File.join('collected.json', @client.api_key, username, title.to_s, sort.to_s, extended.to_s))
end
|
#watched(username = @client.username, title = :all, sort = :title, extended = :min) ⇒ Object
8
9
10
|
# File 'lib/traktr/user/progress.rb', line 8
def watched(username = @client.username, title = :all, sort = :title, extended = :min)
parse_response self.class.get('/' + File.join('watched.json', @client.api_key, username, title.to_s, sort.to_s, extended.to_s))
end
|