Module: Binlist

Includes:
HTTParty
Defined in:
lib/binlist.rb,
lib/binlist/version.rb

Constant Summary collapse

VERSION =
"0.1.9"

Class Method Summary collapse

Class Method Details

.find(bin) ⇒ Net::HTTPResponse

This is called to find a Bin

Returns:

  • (Net::HTTPResponse)

    A subclass of Net::HTTPResponse, e.g. Net::HTTPOK



12
13
14
# File 'lib/binlist.rb', line 12

def self.find(bin)
  get("/json/#{bin}")
end