binlist 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a49fa1f4fdc0e3695aabf25306b8fe1823b23932
4
- data.tar.gz: 379389abce77acc73876643eb873820c66394635
3
+ metadata.gz: c020d8f942d6d54e5ca8135375c8e1a2d5cb6217
4
+ data.tar.gz: e8289c4a832242d54dd120bfdeb3ec36a668b5b4
5
5
  SHA512:
6
- metadata.gz: 6dd080df40b95c6564dc8235b897f9fa61a23d8c22db3e154ecbc4e8a27ea2e0a78c70d53c1d352fcd2c053d6b9b53a67f87ee9d5041f29d21042d20162c6fc8
7
- data.tar.gz: bdae24d67419a74a39d4e9430cbb0c6de8ff0476113b25c088bf27fbb33f61cbdc1c6a616304d615370428fd724b0ada9c8bcca03edecc7d3bbbaf2f856694bc
6
+ metadata.gz: 89bfb5669afbf3f8c5542a0aeed4e79965cd69b0986b6d827fcdb473985204c0ac5168744baa997732b5ff7d7fa22465adc1b5490d2edabf5aeea815024c181d
7
+ data.tar.gz: 467e5feaa8e9902b46e57832f8b1b4e3a846ccf3fbe8db272407e8849e895a9761fe7aa6f172d647147bc6c5d031a974bead3a773d7beb19d40c09ee16dd6cfb
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/binlist.svg)](http://badge.fury.io/rb/binlist)
1
+ [![Gem Version](https://badge.fury.io/rb/binlist.svg)](http://badge.fury.io/rb/binlist) [![Inline docs](http://inch-ci.org/github/CodeHaven9ja/binlist.svg?branch=master)](http://inch-ci.org/github/CodeHaven9ja/binlist)
2
2
  # Binlist
3
3
 
4
4
  Binlist is a simple gem for searching Issuer Identification Numbers (IIN). The first 6 digits of a credit card number are known as the Issuer Identification Number (IIN), previously known as Bank Identification Number (BIN). These identify the institution that issued the card to the card holder.
@@ -5,6 +5,10 @@ module Binlist
5
5
  include HTTParty
6
6
  base_uri "binlist.net"
7
7
 
8
+ # This is called to find a Bin
9
+ # @params bin [string]
10
+ # @return [Net::HTTPResponse] A subclass of Net::HTTPResponse, e.g. Net::HTTPOK
11
+
8
12
  def self.find(bin)
9
13
  get("/json/#{bin}")
10
14
  end
@@ -1,3 +1,3 @@
1
1
  module Binlist
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binlist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thompson Edolo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler