# frozen_string_literal: true require "aliyun/rails/version" require "aliyun/rails/connector/roa_client" require "aliyun/rails/connector/rpc_client" require "aliyun/rails/dysms" require "aliyun/rails/dyvms" module Aliyun module Rails class Error < StandardError; end # 模块方法接受代码块初始化参数 class << self def config(&block) Aliyun::Rails::Connector::RPCClient.configure(&block) end end # Your code goes here... end end