Class: ComfyArchive::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/comfy_archive/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pageObject

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