oyi 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 9e18f073318951ff7e8d4c3125d50e0541edb06326a0a3f73fd69ff62222d4d5
4
- data.tar.gz: 685b78c33caedd82af3b610375d2b6aa1bf544a574b96643c47b091fe62c4078
3
+ metadata.gz: eeb38b5d0a6547c06a12d37aa08469c3eebebe665d47f330eb8bab7c56673116
4
+ data.tar.gz: cef2548600ff4d8289080af41ffe6b8b76f9ac8d9935ef5ae54bf75a8353b4b2
5
5
  SHA512:
6
- metadata.gz: ac0e3b6b561bb3e2cca1cd2728f267cf7c9167a195c2bb684b3560614b4da88e6ff7a7c6ad51014ff7d56fe4f42d35ee6ea1b80dfb62ee02110bd44d1708d2d4
7
- data.tar.gz: b792b269f921603510564e5baf622eb3adaedef9076a1dda279f77168a8392d1a10287d74f48f67ba2b785fefb1bf6ff6792af5764691d3baf57674deeef3a0b
6
+ metadata.gz: 3c661a3b3825dc4077d5612f193e5ece332474fbf88927f8eeb83655008a21815882c34558b056121637e3dec73e06572fc9aeb02cfa5d32bdbff4adc510ea92
7
+ data.tar.gz: c0e16561f38c2a4b2bdaec92151f444e2cab9d35b7af9a8243401013c2111f02206c4ce58d51743a6de52724408ff3c734b0f011f41748b80d37dba17fc376ba
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oyi (0.1.1)
4
+ oyi (0.1.2)
5
5
  rest-client
6
6
 
7
7
  GEM
@@ -41,7 +41,7 @@ module Oyi
41
41
 
42
42
  custom_error_code = custom_status.is_a?(Hash) && custom_status['code']
43
43
  if custom_error_code && !VALID_CODES.include?(custom_error_code)
44
- raise ApiError.new(status: custom_error_code, message: @message['status']&.[]('message'))
44
+ raise ApiError.new(message: @message['status']&.[]('message'))
45
45
  end
46
46
 
47
47
  return @message
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Oyi
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oyi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ganesh Gunasegaran