Class: Minato::Rails::Auth::Configuration
- Inherits:
-
Object
- Object
- Minato::Rails::Auth::Configuration
- Defined in:
- lib/minato/rails/auth/configuration.rb
Instance Attribute Summary collapse
-
#jwt ⇒ Object
Returns the value of attribute jwt.
Instance Method Summary collapse
- #configure {|_self| ... } ⇒ Object
-
#initialize(jwt = Auth::JWT::Configuration.new) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(jwt = Auth::JWT::Configuration.new) ⇒ Configuration
Returns a new instance of Configuration.
12 13 14 |
# File 'lib/minato/rails/auth/configuration.rb', line 12 def initialize(jwt = Auth::JWT::Configuration.new) @jwt = jwt end |
Instance Attribute Details
#jwt ⇒ Object
Returns the value of attribute jwt.
10 11 12 |
# File 'lib/minato/rails/auth/configuration.rb', line 10 def jwt @jwt end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
16 17 18 |
# File 'lib/minato/rails/auth/configuration.rb', line 16 def configure yield(self) if block_given? end |