Sha256: 2034a69b4b372f8f55df42f3bae9579acdff2aae8f2c6121d804d9bbed35f9d3
Contents?: true
Size: 665 Bytes
Versions: 3
Compression:
Stored size: 665 Bytes
Contents
module Spree module Auth class Configuration attr_accessor :registration_step, :signout_after_password_change, :confirmable, :validatable def initialize self.registration_step = true self.signout_after_password_change = true self.confirmable = false self.validatable = true end def configure yield(self) if block_given? end def get(preference) send(preference) end alias [] get def set(preference, value) send("#{preference}=", value) end alias []= set end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_auth_devise-4.6.2 | lib/spree/auth/configuration.rb |
spree_auth_devise-4.6.1 | lib/spree/auth/configuration.rb |
spree_auth_devise-4.6.0 | lib/spree/auth/configuration.rb |