Class: DatabricksSql::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/databricks_sql/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

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

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

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/databricks_sql/configuration.rb', line 5

def host
  @host
end

#open_timeoutObject

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_pathObject

Returns the value of attribute statement_path.



5
6
7
# File 'lib/databricks_sql/configuration.rb', line 5

def statement_path
  @statement_path
end

#timeoutObject

Returns the value of attribute timeout.



5
6
7
# File 'lib/databricks_sql/configuration.rb', line 5

def timeout
  @timeout
end

#tokenObject

Returns the value of attribute token.



5
6
7
# File 'lib/databricks_sql/configuration.rb', line 5

def token
  @token
end

#warehouse_idObject

Returns the value of attribute warehouse_id.



5
6
7
# File 'lib/databricks_sql/configuration.rb', line 5

def warehouse_id
  @warehouse_id
end