class Traktr::Shows

Public Instance Methods

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