Sha256: bc144f696d157aad8e93552aff0ddc9acfcf66dd4f191b03313eb24fac90b6ae
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
module RenuoUpload class << self attr_writer :config end def self.config @config ||= Config.new end def self.reset @config = Config.new end def self.configure yield(config) end class Config attr_accessor :api_key, :signing_url def initialize self.api_key = ENV['RENUO_UPLOAD_API_KEY'] self.signing_url = ENV['RENUO_UPLOAD_SIGNING_URL'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
renuo-upload-0.0.1 | lib/renuo_upload/config.rb |