Sha256: 887da121f665feee12a86b9f60de8d9f7b0614e0e529e0f35bec3cfecb1ce181

Contents?: true

Size: 968 Bytes

Versions: 4

Compression:

Stored size: 968 Bytes

Contents

module Aliyun::CloudSms
  module Configure
    @@format = "JSON"
    @@region_id = "cn-hangzhou"
    @@signature_method = "HMAC-SHA1"
    @@signature_version = "1.0"
    @@sms_version = "2017-05-25"
    @@access_key_id = ""
    @@access_key_secret = ""
    @@sign_name = ""


    def configure
      yield self if block_given?
    end

    def access_key_id=(id)
      @@access_key_id = id
    end

    def access_key_secret=(secret)
      @@access_key_secret = secret
    end

    def sign_name=(sign_name)
      @@sign_name = sign_name
    end

    def format
      @@format
    end

    def region_id
      @@region_id
    end

    def signature_method
      @@signature_method
    end

    def signature_version
      @@signature_version
    end

    def sms_version
      @@sms_version
    end

    def access_key_id
      @@access_key_id
    end

    def access_key_secret
      @@access_key_secret
    end

    def sign_name
      @@sign_name
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aliyun-cloud_sms-0.2.3 lib/aliyun/cloud_sms/configure.rb
aliyun-cloud_sms-0.2.2 lib/aliyun/cloud_sms/configure.rb
aliyun-cloud_sms-0.2.1 lib/aliyun/cloud_sms/configure.rb
aliyun-cloud_sms-0.2.0 lib/aliyun/cloud_sms/configure.rb