Class: BuildingSync::AirTemperature

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

Overview

http://www.gbxml.org/schemaAirTemperature

xmlattr_unit - SOAP::SOAPNMTOKEN
xmlattr_type - SOAP::SOAPNMTOKEN

Constant Summary collapse

AttrType =
XSD::QName.new(nil, "type")
AttrUnit =
XSD::QName.new(nil, "unit")

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ AirTemperature

Returns a new instance of AirTemperature.



25347
25348
25349
25350
# File 'lib/BuildingSync.rb', line 25347

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

Instance Method Details

#__xmlattrObject



25327
25328
25329
# File 'lib/BuildingSync.rb', line 25327

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_typeObject



25339
25340
25341
# File 'lib/BuildingSync.rb', line 25339

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



25343
25344
25345
# File 'lib/BuildingSync.rb', line 25343

def xmlattr_type=(value)
  __xmlattr[AttrType] = value
end

#xmlattr_unitObject



25331
25332
25333
# File 'lib/BuildingSync.rb', line 25331

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



25335
25336
25337
# File 'lib/BuildingSync.rb', line 25335

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