Sha256: d9168dbe1797f80a88fa2f4c3f2f042cbae62da14aedb2d64fc8af62b325d2f9
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
module PansophyAuthenticator module Configuration class Configurator attr_accessor :local, :bucket_name, :file_path, :configuration_path, :application def configuration from_env end private def base_config return self if @configuration_path.nil? from_file end def from_file FromFile.new(self).configuration end def from_env FromEnv.new(base_config).configuration end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pansophy_authenticator-0.1.0 | lib/pansophy_authenticator/configuration/configurator.rb |