Class: MenuButton

Inherits:
WCC::Contentful::Model::MenuButton show all
Defined in:
lib/generators/wcc/templates/menu/models/menu_button.rb

Overview

This model represents the ‘menuButton’ content type in Contentful. Any linked entries of the ‘menuButton’ content type will be resolved as instances of this class. It exposes #find, #find_by, and #find_all methods to query Contentful.

Method Summary

Methods inherited from WCC::Contentful::Model::MenuButton

#href

Methods inherited from WCC::Contentful::Model

all_models, const_missing, find, register_for_content_type, registered?, registry

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

#schema, transform_content_types_for_validation, #validate_field, #validate_fields, #validations