Module: ContentfulModel
- Defined in:
- lib/contentful_model.rb,
lib/contentful_model/base.rb,
lib/contentful_model/query.rb,
lib/contentful_model/version.rb,
lib/contentful_model/chainable_queries.rb
Defined Under Namespace
Modules: ChainableQueries Classes: Base, Configuration, Query
Constant Summary collapse
- VERSION =
"0.0.3"
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
10 11 12 |
# File 'lib/contentful_model.rb', line 10 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
block for configuration.
13 14 15 16 |
# File 'lib/contentful_model.rb', line 13 def configure self.configuration ||= Configuration.new yield(configuration) end |