Class: RETS4R::Client::Data
- Inherits:
-
Hash
- Object
- Hash
- RETS4R::Client::Data
- Defined in:
- lib/rets4r/client/data.rb
Overview
Represents a row of data. Nothing more than a glorfied Hash with a custom constructor and a type attribute.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = false) ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize(type = false) ⇒ Data
Returns a new instance of Data.
8 9 10 11 |
# File 'lib/rets4r/client/data.rb', line 8 def initialize(type = false) super self.type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/rets4r/client/data.rb', line 6 def type @type end |