Class: Buttercms::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#layoutObject

Returns the value of attribute layout.



15
16
17
# File 'lib/buttercms.rb', line 15

def layout
  @layout
end

#parent_controllerObject

Returns the value of attribute parent_controller.



15
16
17
# File 'lib/buttercms.rb', line 15

def parent_controller
  @parent_controller
end

#tokenObject

Returns the value of attribute token.



15
16
17
# File 'lib/buttercms.rb', line 15

def token
  @token
end