josephholsten / rets4r

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

Add support for count #5

Closed josephholsten closed 13 years ago

josephholsten commented 14 years ago

The following test ought to work:

xml         = load_xml_from_file("#{DATA_DIR}count_only_compact.xml")
transaction = @parser.parse_results(xml, 'COMPACT')

assert_equal 1024, transaction.count
assert transaction.response.empty?
josephholsten commented 13 years ago

it's on RETS4R::ResponseDocument::Base