Class Reve::Classes::WalletBalance
In: lib/reve/classes.rb
Parent: Object

Corporation or Character WalletBalance for Reve::API#personal_wallet_transactions and Reve::API#corporate_wallet_balance Attributes

  • account_id ( Fixnum ) - ID of the account
  • account_key ( String ) - Account key
  • balance ( Float ) - Balance of the wallet

Methods

new  

Attributes

account_id  [R] 
account_key  [R] 
balance  [R] 

Public Class methods

[Source]

     # File lib/reve/classes.rb, line 970
970:       def initialize(elem)
971:         @account_id  = elem['accountID'].to_i
972:         @account_key = elem['accountKey']
973:         @balance     = elem['balance'].to_f
974:       end

[Validate]