Class: Trakt::Account

Inherits:
Object
  • Object
show all
Includes:
Connection
Defined in:
lib/trakt/account.rb

Instance Attribute Summary

Attributes included from Connection

#trakt

Instance Method Summary collapse

Methods included from Connection

#initialize, #require_settings

Instance Method Details

#settingsObject



4
5
6
7
# File 'lib/trakt/account.rb', line 4

def settings
  require_settings %w|username password apikey|
  post 'account/settings/'
end

#testObject



8
9
10
11
# File 'lib/trakt/account.rb', line 8

def test
  require_settings %w|username password apikey|
  post 'account/test/'
end