Class: Telapi::Account
- Defined in:
- lib/telapi/account.rb
Overview
Wraps TelAPI Account functionality
Class Method Summary collapse
-
.get ⇒ Object
Gets current Telapi account as a Telapi::Account object See www.telapi.com/docs/api/rest/accounts/view/.
Methods inherited from Resource
Methods included from Network
api_uri, default_options, delete, post, response_format
Constructor Details
This class inherits a constructor from Telapi::Resource
Class Method Details
.get ⇒ Object
Gets current Telapi account as a Telapi::Account object See www.telapi.com/docs/api/rest/accounts/view/
8 9 10 |
# File 'lib/telapi/account.rb', line 8 def get Account.new(Network.get) end |