Sha256: 1521cef68487f8a8304d25e709b2fe94d55496ac1b8ea7d9b140601fc55e18bb
Contents?: true
Size: 562 Bytes
Versions: 1
Compression:
Stored size: 562 Bytes
Contents
require 'anima' require 'memoizable' module PansophyAuthenticator module Configuration class Base include Anima.new :bucket_name, :file_path, :application, :cache_store include Memoizable def local? false end def remote? !local? end def errors return ['Application is not defined'] if @application.nil? [] end def valid? verification.valid? end def verification Result.new errors end memoize :verification end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pansophy_authenticator-0.5.0 | lib/pansophy_authenticator/configuration/base.rb |