glimr-api-client 0.1.7 → 0.1.8

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: ae6cac11acea900354d83e6e83736e94dd5a7446
4
- data.tar.gz: 7c7437169b1a20828ebc7431dc2362fc08116ed6
3
+ metadata.gz: a141aea85f1604c7d49a05601082143cc12b203e
4
+ data.tar.gz: 8095cc0fd6b401f93cfb0d87940537e7ca1f45a6
5
5
  SHA512:
6
- metadata.gz: af13affc2d1a54efef826da670f85bacab6dbd528c9a16eb1e3edc032617d706f336e733a3b6629a6a80dfc57ee59f4896d4736e5b9ce5cf4568142ab6e40433
7
- data.tar.gz: 98451c6d7cf92180503074eba16b1b5edc11a4f205ba3ba8a91082b5875f994dacf3070c437f817b270824efd813f86a04b7db92e6af195a1edda8ca4bf118c5
6
+ metadata.gz: b8420baefe7e12dc34e53addb4d582c946a1ad9d9dc20da1bcebfb220dda6364df2da20caa7fd95edf310c5c6c302ef7fb760c76e9d72fe6bf181390f346ecf7
7
+ data.tar.gz: b4c42aec4b786ffdd1d7145489322a51879854de0c7f89edcafbae601ec56de7c1b9910bb7ae8723afa4dd48cad010d1394bf268b438fd77bc76c8be72bc2ccb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- glimr-api-client (0.1.7)
4
+ glimr-api-client (0.1.8)
5
5
  activesupport (~> 5.0)
6
6
  excon (~> 0.51)
7
7
 
@@ -12,9 +12,9 @@ module GlimrApiClient
12
12
  :jurisdictionId,
13
13
  :onlineMappingCode
14
14
  ].each do |required|
15
- errors << required if request_body.key?(required).blank?
15
+ errors << required if request_body.fetch(required, nil).nil?
16
16
  end
17
- raise RequestError, errors unless errors.blank?
17
+ raise RequestError, errors unless errors.empty?
18
18
  end
19
19
 
20
20
  def endpoint
@@ -1,3 +1,3 @@
1
1
  module GlimrApiClient
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimr-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Tyree