shopify_api_bruv 0.2.2 → 0.2.3

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: 38efd46bd4364767f9f3ab83f500fc9a7dd4361e80023eaf2587fd66d5dff380
4
- data.tar.gz: a2f7d1f2e9a218dff3b96e123040ba8e06333f828b74a25b46decf27d791c025
3
+ metadata.gz: 8fe961253cfd9043fec5d23379112770493cca121e7ae185b0728afe98fed68f
4
+ data.tar.gz: 4889e5d8748bc5c60d4e74ee196e935e738fdd843630ceaac28aa9857bb7529d
5
5
  SHA512:
6
- metadata.gz: 56d43835d001e36aea5beec0d02f5d3c9f0ecb47808167a0b48a2050905e1bd187cb0532b9e84d239d769e035f7254a599cdf18b802be3abca930abb90c40666
7
- data.tar.gz: 06076ae61c40e87ec4802f89ebe8c9196c347e5c5d4f3ce3a6dface969badf10aa489ebf579f69da1bfb6db987d666f1d50019d0efc361bfff9a534b1c2d16be
6
+ metadata.gz: 35a02f83d45ec7bf81c2aa9d8e335f86b0ddf09496d9647e7e0e145403350b746e36f21cfd706806cb536d35facdd8cc01c4fecd4f5d35f56644553802b4651e
7
+ data.tar.gz: d976fd73f1a78aac2d9f37cd598b469ab3831934577f147ba4b62d330e8cd2ce92bcfd7d07d00487f1d9b7761d73ee590b1ac2f92fce662e48ae0edede583394
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.3] - 2023-12-09
4
+
5
+ - Updates http response error message
6
+
3
7
  ## [0.2.2] - 2023-12-09
4
8
 
5
9
  - Adds page info to http response
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_api_bruv (0.2.2)
4
+ shopify_api_bruv (0.2.3)
5
5
  httparty
6
6
  logger
7
7
 
@@ -48,7 +48,9 @@ module ShopifyApiBruv
48
48
  def validate!
49
49
  return if ok?
50
50
 
51
- raise Errors::HttpResponseError, self
51
+ errors = body['errors'] || ''
52
+
53
+ raise Errors::HttpResponseError, errors
52
54
  end
53
55
  end
54
56
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyApiBruv
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api_bruv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Idjent