Class: BullionVault::API
- Inherits:
-
Object
- Object
- BullionVault::API
- Includes:
- Authentication, Connection, Request
- Defined in:
- lib/bullion_vault/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
10 11 12 13 14 15 |
# File 'lib/bullion_vault/api.rb', line 10 def initialize(={}) = BullionVault..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| public_send("#{key}=", [key]) end end |