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.



24822
24823
24824
24825
# File 'lib/BuildingSync.rb', line 24822

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

Instance Method Details

#__xmlattrObject



24802
24803
24804
# File 'lib/BuildingSync.rb', line 24802

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_typeObject



24814
24815
24816
# File 'lib/BuildingSync.rb', line 24814

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



24818
24819
24820
# File 'lib/BuildingSync.rb', line 24818

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

#xmlattr_unitObject



24806
24807
24808
# File 'lib/BuildingSync.rb', line 24806

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



24810
24811
24812
# File 'lib/BuildingSync.rb', line 24810

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