Updating namespace, pushed it with old generic Foreclosures namespace setting
This commit is contained in:
parent
4b47e6a11c
commit
be526ad36a
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
# Pull down up to 10 of the most recent foreclosure listings in your area
|
||||||
|
|
||||||
# Get your api_key at foreclosurelistings.com
|
# 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)
|
# Pass in state/area/county, or zipcode (object-ified)
|
||||||
epic = lol.getRecent({:zipcode => "20910"})
|
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'
|
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)
|
# 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")
|
epic = lol.getRecent("12345 Sesame St", "everytown", "CA")
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ include REXML
|
||||||
|
|
||||||
# Author: Ryan McGrath (ryan [at] venodesigns dot net) (@ryanmcgrath on Twitter)
|
# Author: Ryan McGrath (ryan [at] venodesigns dot net) (@ryanmcgrath on Twitter)
|
||||||
|
|
||||||
class Foreclosures
|
class Rubeclosures
|
||||||
def initialize(domain, api_key)
|
def initialize(domain, api_key)
|
||||||
@domain = domain
|
@domain = domain
|
||||||
@api_key = api_key
|
@api_key = api_key
|
||||||
|
|
|
||||||
Reference in a new issue