Class: MLClient::Configuration
- Inherits:
-
Object
- Object
- MLClient::Configuration
- Defined in:
- lib/ml_client.rb
Overview
Configuration for client
Instance Attribute Summary collapse
-
#api_bearer ⇒ Object
Returns the value of attribute api_bearer.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#debug ⇒ Object
Returns the value of attribute debug.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
93 94 95 |
# File 'lib/ml_client.rb', line 93 def initialize @debug = false end |
Instance Attribute Details
#api_bearer ⇒ Object
Returns the value of attribute api_bearer.
90 91 92 |
# File 'lib/ml_client.rb', line 90 def api_bearer @api_bearer end |
#api_url ⇒ Object
Returns the value of attribute api_url.
89 90 91 |
# File 'lib/ml_client.rb', line 89 def api_url @api_url end |
#debug ⇒ Object
Returns the value of attribute debug.
91 92 93 |
# File 'lib/ml_client.rb', line 91 def debug @debug end |