lib/awis/config.rb in awis-sdk-ruby-0.1.0 vs lib/awis/config.rb in awis-sdk-ruby-0.1.1
- old
+ new
@@ -1,15 +1,15 @@
require "singleton"
module Awis
class Config
include Singleton
- attr_accessor :access_key_id, :secret_access_key, :proxy, :debug, :protocol
+ attr_accessor :access_key_id, :secret_access_key, :proxy, :debug, :protocol,
+ :timeout, :open_timeout, :logger
end
def self.config
- if block_given?
- yield Config.instance
- end
+ yield Config.instance if block_given?
+
Config.instance
end
end