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
62 63 64 |
# File 'lib/passwordless/config.rb', line 62 def config @config ||= Configuration.new end |
Instance Method Details
#configure {|config| ... } ⇒ Object
66 67 68 |
# File 'lib/passwordless/config.rb', line 66 def configure yield(config) end |
#reset_config! ⇒ Object
70 71 72 |
# File 'lib/passwordless/config.rb', line 70 def reset_config! @config = Configuration.new end |