Class: ContentfulConverter::Nodes::Embed

Inherits:
Hyperlink show all
Defined in:
lib/contentful_converter/nodes/embed.rb

Constant Summary collapse

EMBED_VALUES =
{
  asset: 'embedded-asset-block',
  entry: 'embedded-entry-block'
}.freeze

Instance Attribute Summary

Attributes inherited from Base

#content, #node_type, #nokogiri_node, #parent

Instance Method Summary collapse

Methods inherited from Base

#add_content, #initialize, #to_h

Constructor Details

This class inherits a constructor from ContentfulConverter::Nodes::Base

Instance Method Details

#needs_p_wrapping?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/contentful_converter/nodes/embed.rb', line 13

def needs_p_wrapping?
  false
end