Module: ContentfulModel::Associations
- Included in:
- Base
- Defined in:
- lib/contentful_model/associations/has_one.rb,
lib/contentful_model/associations/has_many.rb,
lib/contentful_model/associations/belongs_to.rb,
lib/contentful_model/associations/associations.rb,
lib/contentful_model/associations/belongs_to_many.rb
Defined Under Namespace
Modules: BelongsTo, BelongsToMany, HasMany, HasOne
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/contentful_model/associations/associations.rb', line 6 def self.included(base) base.include HasMany base.include HasOne base.include BelongsTo base.include BelongsToMany end |