Class: MaxExchangeApi::PrivateApi
- Defined in:
- lib/max_exchange_api/private_api.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#current_sub_account_sn ⇒ Object
Returns the value of attribute current_sub_account_sn.
Attributes inherited from BaseApi
Instance Method Summary collapse
-
#initialize(access_key, secret_key, config: nil) ⇒ PrivateApi
constructor
A new instance of PrivateApi.
Constructor Details
#initialize(access_key, secret_key, config: nil) ⇒ PrivateApi
Returns a new instance of PrivateApi.
9 10 11 12 13 14 15 |
# File 'lib/max_exchange_api/private_api.rb', line 9 def initialize(access_key, secret_key, config: nil) super(config: config) @access_key = access_key @secret_key = secret_key @base_path = URI.parse(self.class.base_uri).path end |
Instance Attribute Details
#current_sub_account_sn ⇒ Object
Returns the value of attribute current_sub_account_sn.
7 8 9 |
# File 'lib/max_exchange_api/private_api.rb', line 7 def current_sub_account_sn @current_sub_account_sn end |