Finds you a hospital.
Add this line to your application's Gemfile:
gem 'ouch'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ouch
require 'ouch'
hospital = Ouch.find(lat: 34.0736204, lng: -118.4003563)
hospital[:name] # => "Cedars-Sinai Medical Center"
hospital[:address] # => "8700 Beverly Boulevard Los Angeles, CA 90048-1865"
hospital[:phone] # => "310-423-5000"
hospital[:number_of_beds] # => 914
hospital[:url] # => "http://www.ushospitalfinder.com/hospital/Cedars-Sinai-Medical-Center-Los-Angeles-CA"
- 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