josephholsten / rets4r

Bringing RETS to ruby
MIT License
52 stars 28 forks source link

search results only respond to #response not #data #6

Closed tcocca closed 13 years ago

tcocca commented 14 years ago

This is not a big deal, it just might need to be updated in the rdocs: http://rdoc.info/rdoc/josephholsten/rets4r/blob/11553506d063ab0536f445062d5e506014b4487c/RETS4R/Client/Transaction.html

The search only responds to response not data:

client.search(resi_search_type, resi_class, resi_query, search_options) do |results| results.response.each do |row| puts row.to_yaml end end

undefined method data' for #<RETS4R::Client::Transaction:0x102300900> (NoMethodError) from /Users/tom/.gem/ruby/1.8/gems/josephholsten-rets4r-1.1.16/lib/rets4r/client.rb:420:insearch'

Again, no big deal, I can use response just want the docs to be updated if need be.

Thanks, ~ Tom

josephholsten commented 13 years ago

I think this is fixed in v1.1.18. Also, you may as well switch to the official rets4r release, I won't be updating josephholsten-rets4r much longer.