Sha256: a9d942a801a17beea9983957f161d4a7304dd41732159883a529a00a393947d6

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 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

1 entries across 1 versions & 1 rubygems

Version Path
aliyun-rails-0.1.22 lib/aliyun-rails.rb