Sha256: e25ad45642c419139b88ba44a339f5a8e100c9bad2436b7d692bac7873dc4308

Contents?: true

Size: 649 Bytes

Versions: 32

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

# This model represents the 'formField' content type in Contentful.  Any linked
# entries of the 'formField' content type will be resolved as instances of this class.
# It exposes #find, #find_by, and #find_all methods to query Contentful.
class FormField < WCC::Contentful::Model::FormField
  # Override functionality or add utilities
  #
  # # Example: override equality
  # def ===(other)
  #   ...
  # end
  #
  # # Example: override "name" attribute to always be camelized.
  # #          `@name` is populated by the gem in the initializer.
  # def name
  #   @name_camelized ||= @name.camelize(true)
  # end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
wcc-contentful-app-1.0.8 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.7 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.6 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.5 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.4 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.3 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.2 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.1 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.0 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.0.pre.rc3 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.0.pre.rc2 lib/generators/wcc/templates/section-contact-form/models/form_field.rb
wcc-contentful-app-1.0.0.pre.rc1 lib/generators/wcc/templates/section-contact-form/models/form_field.rb