Ip2address
instance = Ip2address::Core.new(ip)
Installation
Add this line to your application's Gemfile:
gem 'ip2address'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ip2address
Usage
use taobao ip api to get info ( http://ip.taobao.com/ )
Contributing
- Fork it ( https://github.com/[my-github-username]/ip2address/fork )
- 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 a new Pull Request