Module: ContentfulModel
- Defined in:
- lib/contentful_model.rb,
lib/contentful_model/base.rb,
lib/contentful_model/query.rb,
lib/contentful_model/queries.rb,
lib/contentful_model/version.rb,
lib/contentful_model/chainable_queries.rb
Defined Under Namespace
Modules: ChainableQueries, Queries Classes: Base, Configuration, Query
Constant Summary collapse
- VERSION =
"0.0.5"
Class Attribute Summary collapse
-
.configuration ⇒ Object
access the configuration class as ContentfulModel.configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
block for configuration.
Class Attribute Details
.configuration ⇒ Object
access the configuration class as ContentfulModel.configuration
11 12 13 |
# File 'lib/contentful_model.rb', line 11 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
block for configuration.
14 15 16 17 |
# File 'lib/contentful_model.rb', line 14 def configure self.configuration ||= Configuration.new yield(configuration) end |