Class: Terret::Tools::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/terret/tools.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



11
12
13
# File 'lib/terret/tools.rb', line 11

def content
  @content
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



11
12
13
# File 'lib/terret/tools.rb', line 11

def error
  @error
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/terret/tools.rb', line 11

def id
  @id
end