Sha256: 73dca38f758ea56439572b7cc27f3f17856c14fe6d142476f2971575419cb2f6

Contents?: true

Size: 682 Bytes

Versions: 32

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

# This model represents the 'section-block-text' content type in Contentful.  Any linked
# entries of the 'section-block-text' content type will be resolved as instances of this class.
# It exposes .find, .find_by, and .find_all methods to query Contentful.
class SectionBlockText < WCC::Contentful::Model::SectionBlockText
  # 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

Version Path
wcc-contentful-app-1.7.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.7.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.6.2 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.6.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.6.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.5.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.5.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.5.0.rc1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.4.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.4.0.rc3 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.4.0.rc2 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.3.2 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.4.0.rc1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.3.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.3.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.2.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.2.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.1.2 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.1.1 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb
wcc-contentful-app-1.1.0 lib/generators/wcc/templates/section-block-text/models/section_block_text.rb