Class: VaultOfSatoshi::API::Base
- Inherits:
-
Object
- Object
- VaultOfSatoshi::API::Base
- Includes:
- HTTParty
- Defined in:
- lib/vault_of_satoshi/api/base.rb
Constant Summary collapse
- CRYPTO_CURRENCIES =
[:BTC, :LTC, :PPC, :DOGE, :FTC, :XPM, :QRK]
- FIAT_CURRENCIES =
[:CAD, :USD]
- ALL_CURRENCIES =
CRYPTO_CURRENCIES + FIAT_CURRENCIES
Instance Method Summary collapse
-
#initialize(api_key, api_secret) ⇒ Base
constructor
A new instance of Base.
- #inspect ⇒ Object
Constructor Details
#initialize(api_key, api_secret) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/vault_of_satoshi/api/base.rb', line 11 def initialize(api_key, api_secret) @api_key = api_key @api_secret = api_secret end |
Instance Method Details
#inspect ⇒ Object
16 17 18 |
# File 'lib/vault_of_satoshi/api/base.rb', line 16 def inspect "#<#{self.class}:#{self.object_id}>" end |