Sha256: 99bdd1c211a322a5d460f8b9870124d56cf5962c7c47a3a26ea2dcc3aebd08e6
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
module RETS4R class Client class ObjectHeader < Hash include Net::HTTPHeader def initialize(raw_header) initialize_http_header( raw_header ) end end # Represents a RETS object (as returned by the get_object) transaction. class DataObject attr_accessor :header, :data alias :type :header alias :info :type def initialize(headers, data) @header = ObjectHeader.new(headers) @data = data end def success? return true if self.data return false end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
rets4r-1.1.18 | lib/rets4r/client/dataobject.rb |
jschairb-rets4r-1.1.18 | lib/rets4r/client/dataobject.rb |