JP Post 📮
A gem to access JP Post Services.
Requirements
- Ruby 1.9
Installation
Add this to your gemfile
gem 'jp_post'
and
bundle
Tracking 📍
Track a package with it's item number.
package = JpPost::Tracking.new("RR123455678")
Access information from the tracking website.
package = JpPost::Tracking.new("CI123455678")
package.classification # e.g. Parcel
package.additional_services # Additional Services
package.history # Array of package movement history
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request