lib/bitbank/client.rb
# Returns a list of local accounts.
Returns a list of local accounts.
Returns a list of local accounts .
def accounts
      account_data = request('listaccounts')
      account_data.map do |account_name, account_value|
        Account.new(self, account_name, account_value, false)
      end
    end
def accounts account_data = request ( 'listaccounts' ) account_data . map do | account_name , account_value | Account . new ( self , account_name , account_value , false ) end end
Returns a list of local accounts.
Returns a list of local accounts .