Class: Iora::Models::AssumptionValue

Inherits:
Element
  • Object
show all
Defined in:
lib/iora/models/assumption_value.rb

Overview

The AssumptionValue class represents a element (always nested within an element), an element used by the Wolfram Alpha API to represent a possible value for an assumption.

Instance Attribute Summary

Attributes inherited from Element

#element

Instance Method Summary collapse

Methods inherited from Element

#initialize, #to_xml

Methods included from Associations::HasOne

#has_one

Methods included from Associations::Helpers

#parse_element, #tag_for

Methods included from Associations::HasMany

#has_many

Methods included from Associations::HasAttribute

#has_attribute

Constructor Details

This class inherits a constructor from Iora::Models::Element

Instance Method Details

#descriptionString


18
# File 'lib/iora/models/assumption_value.rb', line 18

has_attribute :description, tag: 'desc'

#inputString


23
# File 'lib/iora/models/assumption_value.rb', line 23

has_attribute :input

#nameString


13
# File 'lib/iora/models/assumption_value.rb', line 13

has_attribute :name