Class: Pennyworth::Models::Text

Inherits:
Data
  • Object
show all
Defined in:
lib/pennyworth/models/text.rb

Overview

Defines basic text.

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



6
7
8
# File 'lib/pennyworth/models/text.rb', line 6

def content
  @content
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



6
7
8
# File 'lib/pennyworth/models/text.rb', line 6

def id
  @id
end