Class: Resourcey::Config
- Inherits:
-
Object
- Object
- Resourcey::Config
- Defined in:
- lib/resourcey/config.rb
Instance Attribute Summary collapse
-
#controller_parent ⇒ Object
Returns the value of attribute controller_parent.
-
#default_paginator ⇒ Object
Returns the value of attribute default_paginator.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/resourcey/config.rb', line 8 def initialize self.default_paginator = :paged self.controller_parent = 'action_controller/base' end |
Instance Attribute Details
#controller_parent ⇒ Object
Returns the value of attribute controller_parent.
6 7 8 |
# File 'lib/resourcey/config.rb', line 6 def controller_parent @controller_parent end |
#default_paginator ⇒ Object
Returns the value of attribute default_paginator.
5 6 7 |
# File 'lib/resourcey/config.rb', line 5 def default_paginator @default_paginator end |