Class: Getimg::Client::Account
- Inherits:
-
Object
- Object
- Getimg::Client::Account
- Defined in:
- lib/getimg/client/account.rb
Instance Method Summary collapse
- #balance(options = {}) ⇒ Object
-
#initialize(client) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(client) ⇒ Account
Returns a new instance of Account.
6 7 8 |
# File 'lib/getimg/client/account.rb', line 6 def initialize(client) @client = client end |
Instance Method Details
#balance(options = {}) ⇒ Object
10 11 12 |
# File 'lib/getimg/client/account.rb', line 10 def balance( = {}) @client.get("/account/balance", ) end |