Module: CryptomateApi
- Defined in:
- lib/cryptomate_api.rb,
lib/cryptomate_api/base.rb,
lib/cryptomate_api/payment.rb,
lib/cryptomate_api/version.rb,
lib/cryptomate_api/mpc/wallet.rb,
lib/cryptomate_api/mpc/account.rb,
lib/cryptomate_api/management/key.rb,
lib/cryptomate_api/management/client.rb,
lib/cryptomate_api/management/operation.rb,
lib/cryptomate_api/management/blockchain.rb,
lib/cryptomate_api/management/credential.rb,
lib/cryptomate_api/management/configuration.rb
Defined Under Namespace
Modules: Management, Mpc
Classes: Base, Error, Payment
Constant Summary
collapse
- VERSION =
'0.3.0'
Class Method Summary
collapse
Class Method Details
.api_key=(key) ⇒ Object
15
16
17
|
# File 'lib/cryptomate_api/base.rb', line 15
def api_key=(key)
Base. 'Content-Type' => 'application/json', 'x-api-key' => key
end
|
.base_uri=(uri) ⇒ Object
11
12
13
|
# File 'lib/cryptomate_api/base.rb', line 11
def base_uri=(uri)
Base.base_uri uri
end
|
7
8
9
|
# File 'lib/cryptomate_api/base.rb', line 7
def configure
yield self if block_given?
end
|