Class: Traktr::Account
Instance Method Summary
collapse
Methods inherited from Endpoint
#initialize
Instance Method Details
#settings ⇒ Object
3
4
5
6
|
# 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 ⇒ Object
8
9
10
11
|
# 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
|