Class: Aliyun::Odps::Configuration
- Inherits:
-
Object
- Object
- Aliyun::Odps::Configuration
- Defined in:
- lib/aliyun/odps/configuration.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#options ⇒ Object
Returns the value of attribute options.
-
#project ⇒ Object
Returns the value of attribute project.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#ssl_ca_file ⇒ Object
Returns the value of attribute ssl_ca_file.
-
#tunnel_endpoint ⇒ Object
Returns the value of attribute tunnel_endpoint.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #protocol ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/aliyun/odps/configuration.rb', line 7 def initialize @options = {} end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def access_key @access_key end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def endpoint @endpoint end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def @options end |
#project ⇒ Object
Returns the value of attribute project.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def project @project end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def secret_key @secret_key end |
#ssl_ca_file ⇒ Object
Returns the value of attribute ssl_ca_file.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def ssl_ca_file @ssl_ca_file end |
#tunnel_endpoint ⇒ Object
Returns the value of attribute tunnel_endpoint.
6 7 8 |
# File 'lib/aliyun/odps/configuration.rb', line 6 def tunnel_endpoint @tunnel_endpoint end |
Instance Method Details
#protocol ⇒ Object
11 12 13 |
# File 'lib/aliyun/odps/configuration.rb', line 11 def protocol Addressable::URI.parse(@endpoint).scheme end |