Module: Aliyun

Defined in:
lib/aliyun-rails.rb,
lib/aliyun/dysms.rb,
lib/aliyun/dyvms.rb,
lib/aliyun/version.rb,
lib/aliyun/connector/rpc_client.rb,
lib/aliyun/connector/roa_client.rb

Defined Under Namespace

Modules: Connector Classes: Dysms, Dyvms, Error

Constant Summary collapse

VERSION =
"0.1.22"
DEFAULT_UA =
"AlibabaCloud (#{Gem::Platform.local.os}; " +
"#{Gem::Platform.local.cpu}) Ruby/#{RUBY_VERSION} Core/#{VERSION}"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.access_key_idObject

Returns the value of attribute access_key_id.



13
14
15
# File 'lib/aliyun-rails.rb', line 13

def access_key_id
  @access_key_id
end

.access_key_secretObject

Returns the value of attribute access_key_secret.



13
14
15
# File 'lib/aliyun-rails.rb', line 13

def access_key_secret
  @access_key_secret
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Aliyun)

    the object that the method was called on



14
15
16
# File 'lib/aliyun-rails.rb', line 14

def config
  yield self
end