Module: NYCGeoClient::Client::BIN

Included in:
NYCGeoClient::Client
Defined in:
lib/nyc_geo_client/client/bin.rb

Overview

Defines methods related to branches

Instance Method Summary collapse

Instance Method Details

#bin(bin) ⇒ Hashie::Mash

Returns property level information about a building.

Examples:

property level information about a building

NYCGeoClient.bin('1003041')

Parameters:

  • bin (String)

    The bin in which the address is located

Returns:

  • (Hashie::Mash)


13
14
15
16
17
18
# File 'lib/nyc_geo_client/client/bin.rb', line 13

def bin(bin)
  options = {
    bin: bin
  }
  get(bin_path, options)
end