module Contentful::DatabaseImporter::ResourceBootstrapMethods
Bootstrap related methods
Public Instance Methods
to_bootstrap()
click to toggle source
# File lib/contentful/database_importer/resource_bootstrap_methods.rb, line 5 def to_bootstrap { sys: { id: id }, fields: bootstrap_fields } end
to_link()
click to toggle source
# File lib/contentful/database_importer/resource_bootstrap_methods.rb, line 14 def to_link { linkType: 'Entry', id: id } end