Sha256: 0d6b9b4bc79dc27d62a289b45b3e5b6c05368ba3341ec93a5500642c56d4d37c

Contents?: true

Size: 346 Bytes

Versions: 13

Compression:

Stored size: 346 Bytes

Contents

module RETS4R
	class Client
		# Represents a RETS object (as returned by the get_object) transaction.
		class DataObject
			attr_accessor :type, :data
			
			alias :info :type
			
			def initialize(type, data)
				self.type = type
				self.data = data
			end
			
			def success?
				return true if self.data
				return false
			end
		end
	end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
jkestr-rets4r-1.1.10 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.2 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.3 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.5 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.7 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.8 lib/rets4r/client/dataobject.rb
jkestr-rets4r-1.1.9 lib/rets4r/client/dataobject.rb
jwulff-rets4r-1.1.1 lib/rets4r/client/dataobject.rb
jwulff-rets4r-1.1.2 lib/rets4r/client/dataobject.rb
rets4r-0.8.4 lib/rets4r/client/dataobject.rb
rets4r-0.8.5 lib/rets4r/client/dataobject.rb
rets4r-0.8.3 lib/rets4r/client/dataobject.rb
rets4r-0.8.2 lib/rets4r/client/dataobject.rb