Class: Buttercms::Configuration
- Inherits:
-
Object
- Object
- Buttercms::Configuration
- Defined in:
- lib/buttercms.rb
Instance Attribute Summary collapse
-
#layout ⇒ Object
Returns the value of attribute layout.
-
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 |
# File 'lib/buttercms.rb', line 17 def initialize @parent_controller = 'ApplicationController' # Displays a default blog post with instructions on getting a personal token. @token = 'f97d131d955f48af0769a4c827bb47728cbd5d05' end |
Instance Attribute Details
#layout ⇒ Object
Returns the value of attribute layout.
15 16 17 |
# File 'lib/buttercms.rb', line 15 def layout @layout end |
#parent_controller ⇒ Object
Returns the value of attribute parent_controller.
15 16 17 |
# File 'lib/buttercms.rb', line 15 def parent_controller @parent_controller end |
#token ⇒ Object
Returns the value of attribute token.
15 16 17 |
# File 'lib/buttercms.rb', line 15 def token @token end |