Sha256: ed6057cc540c6c0a5478f4b2e71eafde727acf39cf3336cf768afd0dac76bfa4
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
# frozen_string_literal: true require_relative "aliyun_green/version" require_relative "aliyun_green/text" require_relative "aliyun_green/image" require_relative "aliyun_green/error" require_relative "aliyun_green/client" require_relative "aliyun_green/configuration" module AliyunGreen attr_writer :configuration def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) end def self.client AliyunGreen::Client.new( endpoint: 'cn-beijing', api_version: '2018-05-09', access_key_id: AliyunGreen.configuration.access_key_id, access_key_secret: AliyunGreen.configuration.access_key_secret, enable_internal: AliyunGreen.configuration.enable_internal ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aliyun_green-0.1.4 | lib/aliyun_green.rb |
aliyun_green-0.1.3 | lib/aliyun_green.rb |