From be526ad36a5c685891f5474730b9e88c60c2eb17 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 10 Dec 2009 04:40:21 -0500 Subject: [PATCH] Updating namespace, pushed it with old generic Foreclosures namespace setting --- readme.md | 4 ++-- rubeclosures.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 0a80c62..eedc610 100644 --- a/readme.md +++ b/readme.md @@ -17,7 +17,7 @@ Using Rubeclosures is pretty straightfoward. Just consider the following code... # Pull down up to 10 of the most recent foreclosure listings in your area # Get your api_key at foreclosurelistings.com - lol = Foreclosures.new("domain", "api_key") + lol = Rubeclosures.new("domain", "api_key") # Pass in state/area/county, or zipcode (object-ified) epic = lol.getRecent({:zipcode => "20910"}) @@ -28,7 +28,7 @@ You can also pass Rubeclosures an existing address to check if it is a foreclosu require 'rubeclosures' - lol = Foreclosures.new("domain", "api_key") + lol = Rubeclosures.new("domain", "api_key") # Check if this is a foreclosure or not (address/city/state as straight up args, non-obj) epic = lol.getRecent("12345 Sesame St", "everytown", "CA") diff --git a/rubeclosures.rb b/rubeclosures.rb index 8f99633..245c31f 100644 --- a/rubeclosures.rb +++ b/rubeclosures.rb @@ -8,7 +8,7 @@ include REXML # Author: Ryan McGrath (ryan [at] venodesigns dot net) (@ryanmcgrath on Twitter) -class Foreclosures +class Rubeclosures def initialize(domain, api_key) @domain = domain @api_key = api_key