payload-api 0.3.1 → 0.3.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: bab3aa7202ecf90ba0e88cfcdaf91eda738ee593a1ea2d38a390a29fd87b9813
4
- data.tar.gz: 4380c8d7ce309fc97aed9a2f07d1fa0d1516b3b9823de647df831483ded14f54
3
+ metadata.gz: 16701a789efbe6cd8db196282866c1fbe466062498e78b1e574cd55c49e76f86
4
+ data.tar.gz: 2feafbc3e039e0791a1949aca35c14d5f0a7b67865cf93cbd981318ddba3a2c7
5
5
  SHA512:
6
- metadata.gz: eb8e9e90bb630c7dbccd23161e0dac207ff53068e6f95b8438a03dc9b3176a423b2da3e85b9b188f77a023ead8b583723528e50c83c35c143f08e8925580ac4f
7
- data.tar.gz: b6d2f1d4a6923fc64ea7b08b8d89247fd9905ee212e90a93e80e6984d20ea20c93c88c573ff4f6ee31450d0af0460c2a4678c16bc809568b27076e7a71ef29fa
6
+ metadata.gz: 20abdf730b82f46b8a91da28babe36ef47f5e0820dfe1547a65d17e5128f6ca16f95cc70ebf3f577b078e9b173144d54fb19c17267247c0e33cb6055bdef42cf
7
+ data.tar.gz: cdd45d5cf7eb05913138929b6b1a0b4f6e094120d11ccaba9b42ee2265957c28873d683c32c337cf0313495d68a92d24a2a425700331da6190b4c1759ab808fc
@@ -194,10 +194,10 @@ module Payload
194
194
  next
195
195
  end
196
196
 
197
- raise error.new(data['description'], data)
197
+ raise error.new(data['error_description'], data)
198
198
  end
199
199
 
200
- raise Payload::BadRequest.new(data['description'], data)
200
+ raise Payload::BadRequest.new(data['error_description'], data)
201
201
  end
202
202
  end
203
203
  end
@@ -1,3 +1,3 @@
1
1
  module Payload
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payload-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payload
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple library to interface with the Payload API. See https://docs.payload.co
14
14
  for details.