Sha256: e7866e857680ad4b495e0d05d6c6006e2e98b85c44b2c2dfd6f7154e54d98ed6

Contents?: true

Size: 1.21 KB

Versions: 18

Compression:

Stored size: 1.21 KB

Contents

module Fuel
  class Configuration

    # What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
    attr_accessor :layout, :blog_title, :disqus_name, :twitter, :username, :password, :helpers, :paginates_per,
        :featured_image_settings, :avatar_settings, :facebook_app_id, :site_name, :blog_description, :tags, :logo, :aws_bucket, :aws_access_key, :aws_secret_access_key, :paperclip_defaults

    def initialize
      @layout = "application"
      @blog_title = "Blog"
      @blog_description = "A list of posts about a topic"
      @disqus_name = nil
      @twitter = false
      @username = "admin"
      @password = "password"
      @helpers = ["ApplicationHelper"]
      @featured_image_settings = {
        styles: {
          thumb: "100x100>", medium: "300x300>"
        }
      }
      @avatar_settings = {
        styles: {
          thumb: "100x100>", medium: "300x300>"
        }
      }
      @paginates_per = 5
      @facebook_app_id = nil
      @site_name = nil
      @tags = ["Customize", "These", "Options", "In", "config/initializers/fuel.rb"]
      @logo = "fuel/logo.svg"
      @aws_bucket = nil
      @aws_access_key = nil
      @aws_secret_access_key = nil
    end


  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fuel-0.4.10 lib/fuel/configuration.rb
fuel-0.4.9 lib/fuel/configuration.rb
fuel-0.4.8 lib/fuel/configuration.rb
fuel-0.4.7 lib/fuel/configuration.rb
fuel-0.4.6 lib/fuel/configuration.rb
fuel-0.4.5 lib/fuel/configuration.rb
fuel-0.4.4 lib/fuel/configuration.rb
fuel-0.4.3 lib/fuel/configuration.rb
fuel-0.4.2 lib/fuel/configuration.rb
fuel-0.4.1 lib/fuel/configuration.rb
fuel-0.3.34 lib/fuel/configuration.rb
fuel-0.3.33 lib/fuel/configuration.rb
fuel-0.3.32 lib/fuel/configuration.rb
fuel-0.3.31 lib/fuel/configuration.rb
fuel-0.3.30 lib/fuel/configuration.rb
fuel-0.3.29 lib/fuel/configuration.rb
fuel-0.3.28 lib/fuel/configuration.rb
fuel-0.3.27 lib/fuel/configuration.rb