Sha256: 4bc6043560fd088077c4f563f0f0efe3235ae431344483b2c28500f5c33c9c64
Contents?: true
Size: 653 Bytes
Versions: 32
Compression:
Stored size: 653 Bytes
Contents
# frozen_string_literal: true # 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. class MenuButton < WCC::Contentful::Model::MenuButton # Override functionality or add utilities # # # Example: override equality # def ===(other) # ... # end # # # Example: override "text" attribute to always be camelized. # # `@text` is populated by the gem in the initializer. # def text # @text_camelized ||= @text.camelize(true) # end end
Version data entries
32 entries across 32 versions & 1 rubygems