Repository URL to install this package:
|
Version:
2.0.7.4 ▾
|
ruby-rets
/
CHANGELOG.md
|
|---|
get_metadata calls:disable_stream => true)Confirmed to work with Ruby 2.0.0-p0
RETS-Version is no longer set to RETS/1.7 unless an error 20037 is returned and no other one is specifiedRETS-Version can be set based on a HTTP 200 response for systems which only pass it after authentication (Innovia)rets_data[:system_id] when pulling metadata outclient.request_size and client.request_hash can be used when streaming is disabled in client.searchclient.request_time which gives the time taken in seconds for a client.search or client.get_object to runclient.search call with :count_mode => :onlyclient.get_object callRETS::APIError code 0 error under some RETS systems when making a call to client.get_object with :locationclient.rets_data available immediately when calling client.search rather than having to wait until it finishes (Paul Trippett):rets_version can be passed to client.login without the User-Agent fields being set, for RETS servers that require the version to be passed initiallyclient.get_object if a part is blankclient.login will now raise ResponseError errors if the RETS tag cannot be found in the responseclient.login added the ability to pass :rets_version to force the RETS Version used in HTTP requests. Provides a small speedup as it can skip one HTTP request depending on the RETS implementationclient.get_object can return both Content-Description or Description rather than just Description. Also will return Preferredclient.logout will now raise CapabilityNotFound errors if it's unsupportedclient.get_object now requires a block which is yielded to rather than returning an array of the contentclient.get_object headers are now returned in lowercase form ("content-id" not "Content-ID" and so on)RETS::Client.login now uses :useragent => {:name => "Foo", :password => "Bar"} to pass User Agent dataRETS::Client.login no longer implies the User-Agent username or password by the primary username and passwordclient.searchclient.get_objectclient.rets_data after the call is finishedAPIError, HTTPError, Unauthorized and CapabilityNotFoundHTTPError and APIError now include the reply text and code in reply_code and reply_text