Sha256: 1f11cc4395e6c63080dff4b976b2d1c38b9f76b3151db867777f7b0939650518
Contents?: true
Size: 690 Bytes
Versions: 32
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true # This model represents the 'section-marquee-text' content type in Contentful. Any linked # entries of the 'section-marquee-text' content type will be resolved as instances of this class. # It exposes .find, .find_by, and .find_all methods to query Contentful. class SectionMarqueeText < WCC::Contentful::Model::SectionMarqueeText # 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