Class: WCC::Contentful::RichText::Text

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

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



98
99
100
# File 'lib/wcc/contentful/rich_text.rb', line 98

def data
  @data
end

#marksObject

Returns the value of attribute marks

Returns:

  • (Object)

    the current value of marks



98
99
100
# File 'lib/wcc/contentful/rich_text.rb', line 98

def marks
  @marks
end

#nodeTypeObject

Returns the value of attribute nodeType

Returns:

  • (Object)

    the current value of nodeType



98
99
100
# File 'lib/wcc/contentful/rich_text.rb', line 98

def nodeType
  @nodeType
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



98
99
100
# File 'lib/wcc/contentful/rich_text.rb', line 98

def value
  @value
end