Sha256: 664159ee5b7b624329aa2cb5687af69e70d7736cd973af86f039f60fee52d30a
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
module AliyunGreen class Configuration attr_accessor :access_key_id, :access_key_secret, :region_id, :api_version, :enable_internal def initialize @access_key_id = "" @access_key_secret = "" @endpoint = "cn-beijing" @api_version = "2018-05-09" @enable_internal = false end def to_hash { endpoint: @endpoint, api_version: @api_version, access_key_id: @access_key_id, access_key_secret: @access_key_secret, } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aliyun_green-0.1.4 | lib/aliyun_green/configuration.rb |
aliyun_green-0.1.3 | lib/aliyun_green/configuration.rb |
aliyun_green-0.1.1 | lib/aliyun_green/configuration.rb |