States, Districts and Sub-Districts
Add this line to your application's Gemfile:
gem 'indian_locations'
And then execute:
$ bundle
Or install it yourself as:
$ gem install indian_locations
require 'indian_locations'
IndianLocations::State.all # Gives you all the states including (districts and sub-districts)
IndianLocations::State.find('Punjab') # Filter by name
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request