Class: BuildingSync::CostValue

Inherits:
String
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://www.gbxml.org/schemaCostValue

xmlattr_currency - SOAP::SOAPNMTOKEN
xmlattr_unit - SOAP::SOAPString

Constant Summary collapse

AttrCurrency =
XSD::QName.new(nil, "currency")
AttrUnit =
XSD::QName.new(nil, "unit")

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ CostValue

Returns a new instance of CostValue.



26431
26432
26433
26434
# File 'lib/BuildingSync.rb', line 26431

def initialize(*arg)
  super
  @__xmlattr = {}
end

Instance Method Details

#__xmlattrObject



26411
26412
26413
# File 'lib/BuildingSync.rb', line 26411

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_currencyObject



26415
26416
26417
# File 'lib/BuildingSync.rb', line 26415

def xmlattr_currency
  __xmlattr[AttrCurrency]
end

#xmlattr_currency=(value) ⇒ Object



26419
26420
26421
# File 'lib/BuildingSync.rb', line 26419

def xmlattr_currency=(value)
  __xmlattr[AttrCurrency] = value
end

#xmlattr_unitObject



26423
26424
26425
# File 'lib/BuildingSync.rb', line 26423

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



26427
26428
26429
# File 'lib/BuildingSync.rb', line 26427

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end