Class: Bitget::Configuration
- Inherits:
-
Object
- Object
- Bitget::Configuration
- Defined in:
- lib/Bitget/Configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_passphrase ⇒ Object
Returns the value of attribute api_passphrase.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 |
# File 'lib/Bitget/Configuration.rb', line 8 def initialize @api_key = nil @api_secret = nil @api_passphrase = nil @debug = false @logger = nil end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/Bitget/Configuration.rb', line 6 def api_key @api_key end |
#api_passphrase ⇒ Object
Returns the value of attribute api_passphrase.
6 7 8 |
# File 'lib/Bitget/Configuration.rb', line 6 def api_passphrase @api_passphrase end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
6 7 8 |
# File 'lib/Bitget/Configuration.rb', line 6 def api_secret @api_secret end |
#debug ⇒ Object
Returns the value of attribute debug.
6 7 8 |
# File 'lib/Bitget/Configuration.rb', line 6 def debug @debug end |
#logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/Bitget/Configuration.rb', line 6 def logger @logger end |