Class: RETS4R::Client::Data

Inherits:
Hash
  • Object
show all
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

Instance Method Summary collapse

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

#typeObject

Returns the value of attribute type


6
7
8
# File 'lib/rets4r/client/data.rb', line 6

def type
  @type
end