Class: KrakenClient::Endpoints::Base
- Inherits:
-
Object
- Object
- KrakenClient::Endpoints::Base
- Defined in:
- lib/kraken_client/endpoints/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(config, options = {}) ⇒ Base
constructor
A new instance of Base.
- #request_manager ⇒ Object
Constructor Details
#initialize(config, options = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 12 |
# File 'lib/kraken_client/endpoints/base.rb', line 7 def initialize(config, = {}) @config = config @options = set_methods end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
5 6 7 |
# File 'lib/kraken_client/endpoints/base.rb', line 5 def config @config end |
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/kraken_client/endpoints/base.rb', line 5 def @options end |
Instance Method Details
#request_manager ⇒ Object
14 15 16 |
# File 'lib/kraken_client/endpoints/base.rb', line 14 def request_manager @request_manager ||= KrakenClient::Requests::Base.build(config, type) end |