Class: BuildingSync::Cost
- Inherits:
-
Object
- Object
- BuildingSync::Cost
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaCost
costValue - BuildingSync::CostValue
reference - SOAP::SOAPString
xmlattr_costType - SOAP::SOAPNMTOKEN
Constant Summary collapse
- AttrCostType =
XSD::QName.new(nil, "costType")
Instance Attribute Summary collapse
-
#costValue ⇒ Object
Returns the value of attribute costValue.
-
#reference ⇒ Object
Returns the value of attribute reference.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(costValue = [], reference = []) ⇒ Cost
constructor
A new instance of Cost.
- #xmlattr_costType ⇒ Object
- #xmlattr_costType=(value) ⇒ Object
Constructor Details
#initialize(costValue = [], reference = []) ⇒ Cost
Returns a new instance of Cost.
26397 26398 26399 26400 26401 |
# File 'lib/BuildingSync.rb', line 26397 def initialize(costValue = [], reference = []) @costValue = costValue @reference = reference @__xmlattr = {} end |
Instance Attribute Details
#costValue ⇒ Object
Returns the value of attribute costValue.
26382 26383 26384 |
# File 'lib/BuildingSync.rb', line 26382 def costValue @costValue end |
#reference ⇒ Object
Returns the value of attribute reference.
26383 26384 26385 |
# File 'lib/BuildingSync.rb', line 26383 def reference @reference end |
Instance Method Details
#__xmlattr ⇒ Object
26385 26386 26387 |
# File 'lib/BuildingSync.rb', line 26385 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_costType ⇒ Object
26389 26390 26391 |
# File 'lib/BuildingSync.rb', line 26389 def xmlattr_costType __xmlattr[AttrCostType] end |
#xmlattr_costType=(value) ⇒ Object
26393 26394 26395 |
# File 'lib/BuildingSync.rb', line 26393 def xmlattr_costType=(value) __xmlattr[AttrCostType] = value end |