Class: Fuel::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_settingsObject

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_keyObject

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_bucketObject

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_keyObject

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_descriptionObject

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_titleObject

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_nameObject

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_idObject

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

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

#helpersObject

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

#layoutObject

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

#logoObject

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
end

#paginates_perObject

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_defaultsObject

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

#passwordObject

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_nameObject

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

#tagsObject

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
  @tags
end

#twitterObject

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

#usernameObject

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