class Traktr::Account

Public Instance Methods

settings() click to toggle source
# File lib/traktr/account.rb, line 3
def settings
  response = self.class.post("/" + File.join("settings", @client.api_key), body: @auth.to_json, headers: { 'Content-Type' => 'application/json'})
  parse_response(response)
end
test() click to toggle source
# File lib/traktr/account.rb, line 8
def test
  response = self.class.post("/" + File.join("test", @client.api_key), body: @auth.to_json, headers: { 'Content-Type' => 'application/json'})
  parse_response(response)
end