Sha256: 03e3a1b481d4c02fb8338c0b27e059df73c20ab12849347d3941fe8cf24fad38
Contents?: true
Size: 702 Bytes
Versions: 32
Compression:
Stored size: 702 Bytes
Contents
# frozen_string_literal: true # This model represents the 'section-video-highlight' content type in Contentful. Any linked # entries of the 'section-video-highlight' content type will be resolved as instances of this class. # It exposes .find, .find_by, and .find_all methods to query Contentful. class SectionVideoHighlight < WCC::Contentful::Model::SectionVideoHighlight # Override functionality or add utilities # # # Example: override equality # def ===(other) # ... # end # # # Example: override "title" attribute to always be titlecase. # # `@title` is populated by the gem in the initializer. # def title # @title_titlecased ||= @title.titlecase # end end
Version data entries
32 entries across 32 versions & 1 rubygems