headache 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a72d32f6528347c6a9d436c4bdac202084e41aab
4
- data.tar.gz: 767ad6765618b1eacdace436a4c58f6c835bacc9
3
+ metadata.gz: 4d1bedb69c5748306c258fa087ba1195015aaca6
4
+ data.tar.gz: 559aa917ee1ad1a409763f5d65c2455ad2e2d611
5
5
  SHA512:
6
- metadata.gz: c3c1de15d6b368b661d816743bf79e0ebcad538ba32258fb5a9368aaecb29be6ebe76a8fe57d0d2aa88eccdf796e3433db4adf21aa4f3220092182083417059c
7
- data.tar.gz: 395de1946348f85b31e0a374ed8443d85a88949b446754c488f6f19c80a3962291511d2cf4bff4f63122c5f583acdf5afabf37ac502f6004293784631c47e808
6
+ metadata.gz: d9a5081de1beb93da9a5d2ce2e24a726b3491b96595dfcf88197598a4fd1d6bf72f2e20fad68360524fe1d0502d1e015429c4c1bab721efa33585f19e5ce116b
7
+ data.tar.gz: 78c8b7ae9aafb80c608b96b13168857ced74f7ebfd54ca634cd424bf1dd9da473024e32bf2ededdb0aecca45776c356d5b91b086b7fd4f3d78e805d2d1edd340
@@ -14,6 +14,11 @@ module Headache
14
14
  rval
15
15
  end
16
16
 
17
+ def generate(*args)
18
+ fail ArgumentError, 'transaction_code cannot be blank' unless transaction_code.present?
19
+ super(*args)
20
+ end
21
+
17
22
  def routing_identification=(value)
18
23
  rval = (@routing_identification = value)
19
24
  assemble_routing_number
@@ -1,3 +1,3 @@
1
1
  module Headache
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payoff, Inc.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2015-10-29 00:00:00.000000000 Z
12
+ date: 2015-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fixy