Class: DatabricksSql::Configuration
- Inherits:
-
Object
- Object
- DatabricksSql::Configuration
- Defined in:
- lib/databricks_sql/configuration.rb
Instance Attribute Summary collapse
-
#external_link_allowed_hosts ⇒ Object
Returns the value of attribute external_link_allowed_hosts.
-
#external_link_require_https ⇒ Object
Returns the value of attribute external_link_require_https.
-
#host ⇒ Object
Returns the value of attribute host.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#statement_path ⇒ Object
Returns the value of attribute statement_path.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#token ⇒ Object
Returns the value of attribute token.
-
#warehouse_id ⇒ Object
Returns the value of attribute warehouse_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 20 |
# File 'lib/databricks_sql/configuration.rb', line 14 def initialize @timeout = 30 @open_timeout = 10 @statement_path = Client::DEFAULT_STATEMENT_PATH @external_link_require_https = true @external_link_allowed_hosts = nil end |
Instance Attribute Details
#external_link_allowed_hosts ⇒ Object
Returns the value of attribute external_link_allowed_hosts.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def external_link_allowed_hosts @external_link_allowed_hosts end |
#external_link_require_https ⇒ Object
Returns the value of attribute external_link_require_https.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def external_link_require_https @external_link_require_https end |
#host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def host @host end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def open_timeout @open_timeout end |
#statement_path ⇒ Object
Returns the value of attribute statement_path.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def statement_path @statement_path end |
#timeout ⇒ Object
Returns the value of attribute timeout.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def timeout @timeout end |
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def token @token end |
#warehouse_id ⇒ Object
Returns the value of attribute warehouse_id.
5 6 7 |
# File 'lib/databricks_sql/configuration.rb', line 5 def warehouse_id @warehouse_id end |