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.



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

def initialize
  # Displays a default blog post with instructions on getting a personal token.
  @token = 'f97d131d955f48af0769a4c827bb47728cbd5d05'
end

Instance Attribute Details

#author_templateObject

Returns the value of attribute author_template.



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

def author_template
  @author_template
end

#category_templateObject

Returns the value of attribute category_template.



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

def category_template
  @category_template
end

#home_templateObject

Returns the value of attribute home_template.



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

def home_template
  @home_template
end

#layoutObject

Returns the value of attribute layout.



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

def layout
  @layout
end

#post_templateObject

Returns the value of attribute post_template.



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

def post_template
  @post_template
end

#tokenObject

Returns the value of attribute token.



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

def token
  @token
end