Class: LazerPayModule::Deposit::CRYPTO
- Defined in:
- lib/lazerpay/main_module.rb
Instance Method Summary collapse
- #get_wallet_address(coin) ⇒ Object
-
#initialize ⇒ CRYPTO
constructor
A new instance of CRYPTO.
Constructor Details
#initialize ⇒ CRYPTO
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 |