Sha256: f69cab1cbf9dc284014993fa6fdb024a56efe0f4187edacd9f8f5da125a6b0f6

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

module ComfyBlog
  class Configuration
    
    # Number of posts per page. Default is 10
    attr_accessor :posts_per_page
    
    # Comments can be automatically approved/published by changing this setting
    # Default is false.
    attr_accessor :auto_publish_comments
    
    # Configuration defaults
    def initialize
      @posts_per_page         = 10
      @auto_publish_comments  = false
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_blog-1.1.1 lib/comfy_blog/configuration.rb
comfy_blog-1.1.0 lib/comfy_blog/configuration.rb
comfy_blog-1.0.0 lib/comfy_blog/configuration.rb