Class: Contentful::RichTextCoercion

Inherits:
BaseCoercion show all
Defined in:
lib/contentful/coercions.rb

Overview

Coercion for RichText Types

Instance Attribute Summary

Attributes inherited from BaseCoercion

#options, #value

Instance Method Summary collapse

Methods inherited from BaseCoercion

#initialize

Constructor Details

This class inherits a constructor from Contentful::BaseCoercion

Instance Method Details

#coerce(configuration) ⇒ Object

Resolves includes and removes unresolvable nodes



105
106
107
# File 'lib/contentful/coercions.rb', line 105

def coerce(configuration)
  coerce_block(value, configuration)
end