Class: GeminiApi::Endpoints::WithdrawCryptoFund
- Inherits:
-
GeminiApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- GeminiApi::Endpoint
- GeminiApi::Endpoints::WithdrawCryptoFund
- Includes:
- PartnerApi::Endpoints::Initializer
- Defined in:
- lib/gemini_api/endpoints/withdraw_crypto_fund.rb
Constant Summary
Constants inherited from GeminiApi::Endpoint
GeminiApi::Endpoint::HMAC_ALGORITHM
Instance Method Summary collapse
-
#initialize(address:, amount:, currency: :usd, account: nil, client_transfer_id: nil) ⇒ WithdrawCryptoFund
constructor
By default, we allow withdrawing USD as GUSD See: docs.gemini.com/rest-api/#withdraw-usd-as-gusd For other currency, see docs.gemini.com/rest-api/#withdraw-crypto-funds.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
Constructor Details
#initialize(address:, amount:, currency: :usd, account: nil, client_transfer_id: nil) ⇒ WithdrawCryptoFund
By default, we allow withdrawing USD as GUSD See: docs.gemini.com/rest-api/#withdraw-usd-as-gusd For other currency, see docs.gemini.com/rest-api/#withdraw-crypto-funds
15 16 17 18 19 20 21 |
# File 'lib/gemini_api/endpoints/withdraw_crypto_fund.rb', line 15 def initialize(address:, amount:, currency: :usd, account: nil, client_transfer_id: nil) @currency = currency.to_sym @address = address @amount = amount @account = account @client_transfer_id = client_transfer_id end |