- Notifications
You must be signed in to change notification settings - Fork4
A Multifamily Information and Transactions Standard document parser
License
utensils/mits
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A SAX powered reader forMultifamily Information and Transactions Standard (MITS) compatible documents.
Currently supporting MITS3.0 &4.1 (default).
gem install mits
Create aMITS::Document
with a local filepath or URL:
document=MITS::Document.new('/example/path/mits_compatible_feed.xml',version:3.0)
Iterating over properties is easy:
document.propertiesdo |property|puts"#{property.name} now available online at#{property.website}"end
The#properties
method returns aEnumerator
if no block is provided:
document.properties.each_with_object([])do |property,arr|# Only include properties with 2 or more unitsarr.push(property)ifproperty.units.size >2end
Feedback, feature requests, and fixes are welcomed and encouraged. Please make appropriate use ofIssues andPull Requests. All code should have accompanying tests.
MITS is written and maintained by@doomspork as part ofCityLeash.com.
Please seeLICENSE for licensing details.
About
A Multifamily Information and Transactions Standard document parser
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.