Class: Enom::Account

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

Class Method Summary collapse

Class Method Details

.balanceObject



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

def self.balance
  Client.request("Command" => "GetBalance")["interface_response"]["AvailableBalance"].gsub(",", "").to_f
end