Class: Fuel::Configuration
- Inherits:
-
Object
- Object
- Fuel::Configuration
- Defined in:
- lib/fuel/configuration.rb
Instance Attribute Summary collapse
-
#avatar_settings ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#aws_access_key ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#aws_bucket ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#aws_secret_access_key ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#blog_description ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#blog_title ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#disqus_name ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#facebook_app_id ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#featured_image_settings ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#helpers ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#layout ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#logo ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#paginates_per ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#paperclip_defaults ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#password ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#site_name ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#tags ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#twitter ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
-
#username ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no).
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/fuel/configuration.rb', line 8 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 |
Instance Attribute Details
#avatar_settings ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def avatar_settings @avatar_settings end |
#aws_access_key ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def aws_access_key @aws_access_key end |
#aws_bucket ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def aws_bucket @aws_bucket end |
#aws_secret_access_key ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def aws_secret_access_key @aws_secret_access_key end |
#blog_description ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def blog_description @blog_description end |
#blog_title ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def blog_title @blog_title end |
#disqus_name ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def disqus_name @disqus_name end |
#facebook_app_id ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def facebook_app_id @facebook_app_id end |
#featured_image_settings ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def featured_image_settings @featured_image_settings end |
#helpers ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def helpers @helpers end |
#layout ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def layout @layout end |
#logo ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def logo @logo end |
#paginates_per ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def paginates_per @paginates_per end |
#paperclip_defaults ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def paperclip_defaults @paperclip_defaults end |
#password ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def password @password end |
#site_name ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def site_name @site_name end |
#tags ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def @tags end |
#twitter ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def twitter @twitter end |
#username ⇒ Object
What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
5 6 7 |
# File 'lib/fuel/configuration.rb', line 5 def username @username end |