Module: ContentfulRails
- Defined in:
- lib/contentful_rails.rb,
lib/contentful_rails/engine.rb,
lib/contentful_rails/preview.rb,
lib/contentful_rails/version.rb,
lib/contentful_rails/sluggable.rb,
lib/contentful_rails/nested_resource.rb,
lib/contentful_rails/caching/timestamps.rb,
app/helpers/contentful_rails/markdown_helper.rb
Defined Under Namespace
Modules: Caching, MarkdownHelper, NestedResource, Preview, Sluggable Classes: Configuration, DevelopmentConstraint, Engine, MarkdownRenderer, WebhooksController
Constant Summary collapse
- VERSION =
"0.2.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/contentful_rails.rb', line 12 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/contentful_rails.rb', line 15 def self.configure self.configuration ||= Configuration.new yield(configuration) end |