Class: VaultOfSatoshi::API::Base

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/vault_of_satoshi/api/base.rb

Direct Known Subclasses

Info, Public, Trade

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

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

#inspectObject



16
17
18
# File 'lib/vault_of_satoshi/api/base.rb', line 16

def inspect
  "#<#{self.class}:#{self.object_id}>"
end