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