Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Multifamily Information and Transactions Standard document parser

License

NotificationsYou must be signed in to change notification settings

utensils/mits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A SAX powered reader forMultifamily Information and Transactions Standard (MITS) compatible documents.

Currently supporting MITS3.0 &4.1 (default).

Gem VersionBuild StatusCode ClimateCoverage StatusDependency Status

Installation

gem install mits

Getting Started

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

Contributing

Feedback, feature requests, and fixes are welcomed and encouraged. Please make appropriate use ofIssues andPull Requests. All code should have accompanying tests.

Author

MITS is written and maintained by@doomspork as part ofCityLeash.com.

License

Please seeLICENSE for licensing details.

About

A Multifamily Information and Transactions Standard document parser

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp