Class: Zipply::ZIPCode

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/zipply/zip_code.rb

Class Method Summary collapse

Class Method Details

.details(zip_code) ⇒ Object



7
8
9
# File 'lib/zipply/zip_code.rb', line 7

def self.details(zip_code)
  Hashie::Mash[get("/#{zip_code}")]
end