Project

ouch

0.0
Repository is archived
No release in over 3 years
Low commit activity in last 3 years
Finds a hospital based on lat/lon
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

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