Sha256: 4adc20f7612383165c57978e267b7b1da782a045ebef3c6512a84b4be261c5db
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
module Squall # Holds the configuration for Squall class Config attr_accessor :config def initialize @config = {} end def [](v) @config[v] end def base_uri(value) @config[:base_uri] = value end def username(value) @config[:username] = value end def password(value) @config[:password] = value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
squall-1.0.2 | lib/squall/config.rb |
squall-1.0.1 | lib/squall/config.rb |
squall-1.0.0 | lib/squall/config.rb |