Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

jdx/ouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ouch Build Status

Finds you a hospital.

Installation

Add this line to your application's Gemfile:

gem 'ouch'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ouch

Usage

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"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Finds the nearest hospital

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages