Class: Getimg::Client::Account

Inherits:
Object
  • Object
show all
Defined in:
lib/getimg/client/account.rb

Instance Method Summary collapse

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(options = {})
  @client.get("/account/balance", options)
end