lib/bitbank/account.rb
# Move funds from one account in your wallet to another.
# First parameter can either by an account name or an actual account
# object.
Move funds from one account in your wallet to another.
First parameter can either by an account name or an actual account
object.
Move funds from one account in your wallet to another . First parameter can either by an account name or an actual account object .
def move(name_or_account, amount)
      to_name = if name_or_account.is_a?(Bitbank::Account)
        name_or_account.name
      else
        name_or_account
      end
      @client.request('move', name, to_name, amount)
    end
def move ( name_or_account , amount ) to_name = if name_or_account . is_a? ( Bitbank :: Account ) name_or_account . name else name_or_account end @client . request ( 'move' , name , to_name , amount ) end
Move funds from one account in your wallet to another.
Move funds from one account in your wallet to another .
name_or_account
<not_specific>
amount
<not_specific>