lib/zippopotamus.rb in zippopotamus-0.0.1 vs lib/zippopotamus.rb in zippopotamus-0.0.2
- old
+ new
@@ -1,5 +1,11 @@
require "zippopotamus/version"
+require "zippopotamus/place"
module Zippopotamus
- # Your code goes here...
+ def self.by_postal_code(postal_code, country = "us")
+ end
+ singleton_class.send(:alias_method, :by_zip, :by_postal_code)
+
+ def self.by_name(city, state, country = "us")
+ end
end