ach_client 5.1.0 → 5.2.0

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
  SHA256:
3
- metadata.gz: 4ac231ba9ffc671271670a03605f2d384873d67dfaeec720c19a8722d59ffa7e
4
- data.tar.gz: 1c0ba97879f842990452c1c234ed7a18f177f410a0d44f9f4703fc1497dc8cc1
3
+ metadata.gz: 40121de7140eb005aa1d705a2df4c32c4e0ddd9f1bf1fc47a5cfa3db4c4714a4
4
+ data.tar.gz: 7668ac3bd707b921e6efa0870e0e385c35f49d67db457d2a17731df5ff9de354
5
5
  SHA512:
6
- metadata.gz: d9001617eb7f7d21fa205f280cbc38818b697cebdef9d3870ebab2184cdde266c4778b9b928166cedecdfa631a7c0214032967cc656c73f4014b68e16fc9b611
7
- data.tar.gz: e6dc9cd8c136bf24393b1829556e312d73d829c586786a771726956d5eb65218eb8d9aae1e46790c947a72c34643389cd8514218a4b00ca519e884644fd00e2c
6
+ metadata.gz: e4e47bbf496b0730676d00352eedddf635ddf693d21dba7e0e099802bedd9c71e1da4e6696f5081cc7ce3f35bdc628ca255365e0e29731ef1c0bc7f1b79b5a9c
7
+ data.tar.gz: 0bf340837047df6cd8816084258dfa1c6ae2cbaa16b9d0e82175ef8222a4490a184259564c77d6b16fdc5399a1098b7593d714b9e18f4e470c89fdf88a54f2eb
@@ -21,6 +21,14 @@ module AchClient
21
21
  end
22
22
  end
23
23
 
24
+ def self.unauthorized
25
+ self.all.select(&:unauthorized_return?)
26
+ end
27
+
28
+ def self.administrative
29
+ self.all.select(&:administrative_return?)
30
+ end
31
+
24
32
  # Finds the first ReturnCode with the given code, or raises an exception.
25
33
  # @param [String] 3 char code identifier for a return code
26
34
  # @param [AchClient::ReturnCode] The ReturnCode object with that code
@@ -1,4 +1,4 @@
1
1
  module AchClient
2
2
  # Increment this when changes are published
3
- VERSION = '5.1.0'
3
+ VERSION = '5.2.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ach_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Cotter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ach