Class: AuthorizedRailsScaffolds::Configuration
- Inherits:
-
Object
- Object
- AuthorizedRailsScaffolds::Configuration
- Defined in:
- lib/authorized_rails_scaffolds.rb
Overview
Configuration Value Property
Instance Attribute Summary collapse
-
#parent_models ⇒ Object
Returns the value of attribute parent_models.
-
#shallow_routes ⇒ Object
Returns the value of attribute shallow_routes.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 |
# File 'lib/authorized_rails_scaffolds.rb', line 10 def initialize self.parent_models = [] self.shallow_routes = false end |
Instance Attribute Details
#parent_models ⇒ Object
Returns the value of attribute parent_models.
7 8 9 |
# File 'lib/authorized_rails_scaffolds.rb', line 7 def parent_models @parent_models end |
#shallow_routes ⇒ Object
Returns the value of attribute shallow_routes.
8 9 10 |
# File 'lib/authorized_rails_scaffolds.rb', line 8 def shallow_routes @shallow_routes end |