Class: Contentful::RichTextCoercion
- Inherits:
-
BaseCoercion
- Object
- BaseCoercion
- Contentful::RichTextCoercion
- Defined in:
- lib/contentful/coercions.rb
Overview
Coercion for RichText Types
Instance Attribute Summary
Attributes inherited from BaseCoercion
Instance Method Summary collapse
-
#coerce(configuration) ⇒ Object
Resolves includes and removes unresolvable nodes.
Methods inherited from BaseCoercion
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 |