Module: Passwordless::Configurable
- Included in:
- Passwordless
- Defined in:
- lib/passwordless/config.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
68 69 70 |
# File 'lib/passwordless/config.rb', line 68 def config @config ||= Configuration.new end |
Instance Method Details
#configure {|config| ... } ⇒ Object
72 73 74 |
# File 'lib/passwordless/config.rb', line 72 def configure yield(config) end |
#reset_config! ⇒ Object
76 77 78 |
# File 'lib/passwordless/config.rb', line 76 def reset_config! @config = Configuration.new end |