Class: Aliyun::Odps::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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
  @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