class Traktr::Shows
Public Instance Methods
trending()
click to toggle source
# File lib/traktr/shows.rb, line 3 def trending parse_response self.class.get('/' + File.join('trending.json', @client.api_key), :basic_auth => @auth) end
updated(timestamp)
click to toggle source
# File lib/traktr/shows.rb, line 7 def updated(timestamp) timestamp = timestamp.class == Time ? timestamp.to_i.to_s : timestamp.to_s parse_response self.class.get('/' + File.join('updated.json', @client.api_key, timestamp)) end