Class: Rodauth::Auth
- Inherits:
-
Object
- Object
- Rodauth::Auth
- Defined in:
- lib/rodauth.rb
Class Attribute Summary collapse
-
.features ⇒ Object
readonly
Returns the value of attribute features.
-
.route_hash ⇒ Object
Returns the value of attribute route_hash.
-
.routes ⇒ Object
readonly
Returns the value of attribute routes.
Class Method Summary collapse
Class Attribute Details
.features ⇒ Object (readonly)
Returns the value of attribute features.
176 177 178 |
# File 'lib/rodauth.rb', line 176 def features @features end |
.route_hash ⇒ Object
Returns the value of attribute route_hash.
178 179 180 |
# File 'lib/rodauth.rb', line 178 def route_hash @route_hash end |
.routes ⇒ Object (readonly)
Returns the value of attribute routes.
177 178 179 |
# File 'lib/rodauth.rb', line 177 def routes @routes end |
Class Method Details
.configure(&block) ⇒ Object
190 191 192 |
# File 'lib/rodauth.rb', line 190 def self.configure(&block) Configuration.new(self, &block) end |
.freeze ⇒ Object
194 195 196 197 198 199 |
# File 'lib/rodauth.rb', line 194 def self.freeze @features.freeze @routes.freeze @route_hash.freeze super end |
.inherited(subclass) ⇒ Object
181 182 183 184 185 186 187 188 |
# File 'lib/rodauth.rb', line 181 def self.inherited(subclass) super subclass.instance_exec do @features = [] @routes = [] @route_hash = {} end end |