shipstation 0.18 → 0.20

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: fe71077558f3724730188ad4a60e856634889a7b8ee3800609c967f0bf7873a1
4
- data.tar.gz: f42db728139bc16c78f045ac6bad23f44501bc1938517b8a9421dd2804b0e7ed
3
+ metadata.gz: 58f733c344f7ae035c706b07ccb5c88c906b6054cf2ab8fffab1dafd06831c40
4
+ data.tar.gz: 174afa229e3b821a37519af245f8a27217c0f32c8f4f7cedb3e57701b13f6494
5
5
  SHA512:
6
- metadata.gz: f131c227fa6a7993ca355e5da0624609170fc0d06881a47697292deeeafb8864f6b0103a7a37e72ef460e2bf862f84f035a548d714bececa58913933f15d00c1
7
- data.tar.gz: 2313f8c0078b3fc4dcdf275914573e6b8bfee237fa9ea993bc37515f0ec9b5b46812a2d9d4c86e05fe2e2720fa68613b53391c056f54575824b5dd65cf22ff51
6
+ metadata.gz: 4eff1093b4836b8bfd540b3162043caebc25c1c0a821e7d80874e2e8329873e9c335623568ebfa14f818a4bc7d9a1105f1d733de7e0cd8a0327db39e80e0234e
7
+ data.tar.gz: 33dcd18eb2fd5588b9abbc2058bf0f865a9e71220fea76307c8d53c01de6476dd20fd9d9219afe6d70f098f0dc97751e4907411efdf59329d62551d517c5eb9d
data/lib/shipstation.rb CHANGED
@@ -83,13 +83,6 @@ module Shipstation
83
83
  payload: payload ? payload.to_json : nil,
84
84
  headers: headers
85
85
  }).execute do |response, request, result|
86
- if response.code != 200
87
- raise ApiRequestError.new(
88
- response_code: response.code,
89
- response_headers: response.headers,
90
- response_body: response.to_str
91
- )
92
- end
93
86
  str_response = response.to_str
94
87
  str_response.blank? ? '' : JSON.parse(str_response)
95
88
  end
@@ -1,5 +1,6 @@
1
1
  module Shipstation
2
2
  class Store < ApiResource
3
+ extend Shipstation::APIOperations::List
3
4
  extend Shipstation::APIOperations::Retrieve
4
5
  extend Shipstation::APIOperations::Update
5
6
 
@@ -1,3 +1,3 @@
1
1
  module Shipstation
2
- VERSION = "0.18"
2
+ VERSION = "0.20"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipstation
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.18'
4
+ version: '0.20'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Dallimore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-24 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client