Class: FetchAPI::Account
Class Method Summary collapse
-
.details ⇒ Object
Retrieves information about the Account.
-
.new_token ⇒ Object
Generates a new API token.
Methods inherited from Base
Constructor Details
This class inherits a constructor from FetchAPI::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FetchAPI::Base
Class Method Details
.details ⇒ Object
Retrieves information about the Account
8 9 10 |
# File 'lib/fetchapi/account.rb', line 8 def self.details execute(:get, "/account") end |
.new_token ⇒ Object
Generates a new API token. Subsequent API calls using the existing token will be refused.
14 15 16 |
# File 'lib/fetchapi/account.rb', line 14 def self.new_token execute(:get, "/new_token") end |