Sha256: edeecf74088d6566e78c11e814044abfe1dfd228181d41c965d586499a44b899

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

require_relative "aliyun/version"
require_relative "aliyun/connector/roa_client"
require_relative "aliyun/connector/rpc_client"
require_relative "aliyun/dysms"
require_relative "aliyun/dyvms"

module Aliyun
  class Error < StandardError; end

  class << self
    attr_accessor :access_key_id, :access_key_secret
    def config
      yield self
    end
  end

  # Your code goes here...
end

# 加载模块,自动初始化的常量
RPCClient = Aliyun::Connector::RPCClient
ROAClient = Aliyun::Connector::ROAClient
Dysms     = Aliyun::Dysms
Dyvms     = Aliyun::Dyvms

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aliyun-rails-0.1.17 lib/aliyun-rails.rb
aliyun-rails-0.1.16 lib/aliyun-rails.rb