Sha256: f7cc3fc5235219d3e06803ca085400dd3e569f32b0ea102ca7603029bdd802ce
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
module MuckAuth def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end def self.configure self.configuration ||= Configuration.new yield(configuration) end class Configuration attr_accessor :auth_credentials def initialize self.auth_credentials = {} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
muck-auth-3.1.0 | lib/muck-auth/config.rb |