lib/wcc/contentful/model/page.rb in wcc-contentful-app-0.4.0.pre.rc vs lib/wcc/contentful/model/page.rb in wcc-contentful-app-1.0.0.pre.rc1
- old
+ new
@@ -1,8 +1,4 @@
# frozen_string_literal: true
class WCC::Contentful::Model::Page < WCC::Contentful::Model
- validate_field :title, :String
- validate_field :slug, :String
- validate_field :subpages, :Array, link_to: %w[page]
- validate_field :sections, :Array, link_to: /^section/
end