Module: RETS

Defined in:
lib/rets/base/core.rb,
lib/rets/http.rb,
lib/rets/client.rb,
lib/rets/version.rb,
lib/rets/exceptions.rb,
lib/rets/stream_http.rb

Overview

This is a slightly crazy hack, but it’s saner if we can just use Net::HTTP and then fallback on the StreamHTTP class when we need to do stream parsing. If we were to do it ourselves with Sockets, it would be a bigger pain to manage that, and we would have to do roughly the same setup as below anyway. Essentially, for the hack of using instance_variable_get/instance_variable_set, we get a simple stream parser, without having to write our own HTTP class.

Defined Under Namespace

Modules: Base, ReplyErrors Classes: APIError, CapabilityNotFound, Client, HTTP, HTTPError, ResponseError, StreamHTTP, Unauthorized

Constant Summary collapse

VERSION =
"2.0.7"