Class: Menu
- Inherits:
-
WCC::Contentful::Model::Menu
- Object
- WCC::Contentful::Model
- WCC::Contentful::Model::Menu
- Menu
- Defined in:
- lib/generators/wcc/templates/menu/models/menu.rb
Overview
This model represents the ‘menu’ content type in Contentful. Any linked entries of the ‘menu’ content type will be resolved as instances of this class. It exposes #find, #find_by, and #find_all methods to query Contentful.
Constant Summary
Constants included from WCC::Contentful::ServiceAccessors
WCC::Contentful::ServiceAccessors::SERVICES
Method Summary
Methods inherited from WCC::Contentful::Model
const_missing, find, new_from_raw, register_for_content_type, registered?, registry, resolve_constant
Methods included from WCC::Contentful::Helpers
#constant_from_content_type, #content_type_from_constant, #content_type_from_raw, #shared_prefix
Methods included from WCC::Contentful::ModelValidators
#no_validate_field, #schema, transform_content_types_for_validation, #validate_field, #validate_fields, #validations