Class: Poodle::Configuration
- Inherits:
-
Object
- Object
- Poodle::Configuration
- Defined in:
- lib/poodle/configuration.rb
Instance Attribute Summary collapse
-
#items_per_list ⇒ Object
Returns the value of attribute items_per_list.
-
#max_items_per_list ⇒ Object
Returns the value of attribute max_items_per_list.
-
#refresh_page_in_milli_seconds ⇒ Object
Returns the value of attribute refresh_page_in_milli_seconds.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/poodle/configuration.rb', line 7 def initialize @refresh_page_in_milli_seconds = 18000 @items_per_list = 10 @max_items_per_list = 250 end |
Instance Attribute Details
#items_per_list ⇒ Object
Returns the value of attribute items_per_list.
3 4 5 |
# File 'lib/poodle/configuration.rb', line 3 def items_per_list @items_per_list end |
#max_items_per_list ⇒ Object
Returns the value of attribute max_items_per_list.
3 4 5 |
# File 'lib/poodle/configuration.rb', line 3 def max_items_per_list @max_items_per_list end |
#refresh_page_in_milli_seconds ⇒ Object
Returns the value of attribute refresh_page_in_milli_seconds.
3 4 5 |
# File 'lib/poodle/configuration.rb', line 3 def refresh_page_in_milli_seconds @refresh_page_in_milli_seconds end |