Class: ComfyArchive::Configuration
- Inherits:
-
Object
- Object
- ComfyArchive::Configuration
- Defined in:
- lib/comfy_archive/configuration.rb
Instance Attribute Summary collapse
-
#posts_per_page ⇒ Object
Number of posts per page.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Configuration defaults.
Constructor Details
#initialize ⇒ Configuration
Configuration defaults
10 11 12 |
# File 'lib/comfy_archive/configuration.rb', line 10 def initialize @posts_per_page = 10 end |
Instance Attribute Details
#posts_per_page ⇒ Object
Number of posts per page. Default is 10
7 8 9 |
# File 'lib/comfy_archive/configuration.rb', line 7 def posts_per_page @posts_per_page end |