Sha256: 44bdfccdfa9be0f183ac1f412bdec99fc384a56126082e0268f07a8b9531b085
Contents?: true
Size: 566 Bytes
Versions: 2
Compression:
Stored size: 566 Bytes
Contents
module Regaliator class Configuration attr_accessor :api_key, :secret_key, :host, :open_timeout, :read_timeout, :use_ssl, :proxy_host, :proxy_port, :proxy_user, :proxy_pass, :version def initialize @api_key = nil @secret_key = nil @host = nil @version = nil @open_timeout = 10 @read_timeout = 60 @use_ssl = true @proxy_host = nil @proxy_port = nil @proxy_user = nil @proxy_pass = nil end def secure? use_ssl == true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
regaliator-4.0.1 | lib/regaliator/configuration.rb |
regaliator-4.0.0 | lib/regaliator/configuration.rb |