bs2_api 1.6.1 → 1.6.2

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: 59736f9f1623eef9e49ae6c34ff8813f904cc19c5ec81d4c7a5304f2b87ab293
4
- data.tar.gz: b11851a61ae03a4ed8d7ed774a64f031dec7d0f5deb56cf1a69310a6dffbce8d
3
+ metadata.gz: 995b6148737a522290ec526905740f88b1f883502167576e25eac8b0e2367720
4
+ data.tar.gz: a6ae71ef4a47cf3f62026313baec3617065ccf7e4deb099519f2af7db888daef
5
5
  SHA512:
6
- metadata.gz: f4b772eec846ce0685c7f5ba6ede0aa5536c774df29e9ad8e30f323924bee092e746e6ab3c76abf33833e9d81761c720b32a8559140f0fc82b8a6d6885aac758
7
- data.tar.gz: e6595f66602e060c539c1f3aaab260ea7fd98994ebb04b1d16ea7d2807a1563414d53d2d94d8710ce3bbcb48fee9114075ba985646f861b9b777f71c19cf96f2
6
+ metadata.gz: 226da89196ae3a68f8cf109b33d14b4478251e5dc4ad1e97b11894b6a19f2ebeb8a16d8bc110f44c0f9f44d108464634b269c92e97a343ab0e191e99d44d229a
7
+ data.tar.gz: 70ee5e748030f91e5a45e35d8806cd531e598973be731ba2110e2d298e261bf74e1f275c7d56bdc5f3afd0909e375b66a5facd3f2120dc466e74b4039e2fe385
@@ -6,7 +6,7 @@ module Bs2Api
6
6
  'EM_PROCESSAMENTO' => :processing,
7
7
  'DEVOLVIDO' => :refunded,
8
8
  'NAO_REALIZADO' => :not_achieved,
9
- }.transform_keys(&:downcase).freeze
9
+ }.freeze
10
10
 
11
11
  def initialize(
12
12
  client_id:,
@@ -46,7 +46,7 @@ module Bs2Api
46
46
 
47
47
  raise response.body unless response.success?
48
48
 
49
- response.body
49
+ JSON.parse(response.body)
50
50
  end
51
51
 
52
52
  def status
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bs2Api
4
- VERSION = '1.6.1'
4
+ VERSION = '1.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bs2_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Pastro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-02 00:00:00.000000000 Z
11
+ date: 2022-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder