Class: LazerPayModule::Deposit::CRYPTO

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/lazerpay/main_module.rb

Instance Method Summary collapse

Constructor Details

#initializeCRYPTO

Returns a new instance of CRYPTO.



92
# File 'lib/lazerpay/main_module.rb', line 92

def initialize; end

Instance Method Details

#get_wallet_address(coin) ⇒ Object



94
95
96
97
98
# File 'lib/lazerpay/main_module.rb', line 94

def get_wallet_address coin
    response = Agent.get( "/crypto/funding/address", { secret_key: @@sk, public_key: @@pk, query_parameter: "coin=#{coin}" } );

    return response.to_h;
end