Class: WCC::Contentful::RichText::ListItem

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/wcc/contentful/rich_text.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Node

#keys

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



113
114
115
# File 'lib/wcc/contentful/rich_text.rb', line 113

def content
  @content
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



113
114
115
# File 'lib/wcc/contentful/rich_text.rb', line 113

def data
  @data
end

#nodeTypeObject

Returns the value of attribute nodeType

Returns:

  • (Object)

    the current value of nodeType



113
114
115
# File 'lib/wcc/contentful/rich_text.rb', line 113

def nodeType
  @nodeType
end