Class: PredicsisMlSdk::Configuration
- Inherits:
-
Object
- Object
- PredicsisMlSdk::Configuration
- Defined in:
- lib/predicsis_ml_sdk/configuration.rb
Instance Attribute Summary collapse
-
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#predicsis_api_host ⇒ Object
Returns the value of attribute predicsis_api_host.
-
#storage_host ⇒ Object
Returns the value of attribute storage_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/predicsis_ml_sdk/configuration.rb', line 7 def initialize @logger = Logger.new(STDOUT) @logger.level = Logger::DEBUG @predicsis_api_host = 'https://api.predicsis.com' end |
Instance Attribute Details
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
5 6 7 |
# File 'lib/predicsis_ml_sdk/configuration.rb', line 5 def bearer_token @bearer_token end |
#logger ⇒ Object
Returns the value of attribute logger.
2 3 4 |
# File 'lib/predicsis_ml_sdk/configuration.rb', line 2 def logger @logger end |
#predicsis_api_host ⇒ Object
Returns the value of attribute predicsis_api_host.
3 4 5 |
# File 'lib/predicsis_ml_sdk/configuration.rb', line 3 def predicsis_api_host @predicsis_api_host end |
#storage_host ⇒ Object
Returns the value of attribute storage_host.
4 5 6 |
# File 'lib/predicsis_ml_sdk/configuration.rb', line 4 def storage_host @storage_host end |