Class: Resourcey::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/resourcey/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_parentObject

Returns the value of attribute controller_parent.



6
7
8
# File 'lib/resourcey/config.rb', line 6

def controller_parent
  @controller_parent
end

#default_paginatorObject

Returns the value of attribute default_paginator.



5
6
7
# File 'lib/resourcey/config.rb', line 5

def default_paginator
  @default_paginator
end