Class: Page

Inherits:
WCC::Contentful::Model::Page show all
Defined in:
lib/generators/wcc/templates/page/models/page.rb

Overview

This model represents the ‘page’ content type in Contentful. Any linked entries of the ‘page’ 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