pwinty 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +14 -14
- data/lib/pwinty/version.rb +1 -1
- data/lib/pwinty.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 065c6fffb3579806e5abc91d3ef3b5458ae01a2900d8c48dee2054864e23dd7a
|
4
|
+
data.tar.gz: 4e7e0e147b8029fe4b0898dab5f40aff3e6a7bd5956f666bce2052fa80c4b1ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74c0cb4eaed1a4fa179dd55e2b0b12d7053a5ea8115abc57f0a3649a2a9a538c97ed7f3a44353e58b9a398ebd115258ad0169203e6ab559fb114e6fc8baca1c0
|
7
|
+
data.tar.gz: 4bb6315b4417abde5e10afb577e2c3772cc42664b455c4278624afc749e8953e4add503cc3d388d7dc191784370dfae72b406faa01b46a806e2c6ed81fd94f51
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -75,20 +75,20 @@ to understand the full list of attributes to send.
|
|
75
75
|
|
76
76
|
``` ruby
|
77
77
|
order = Pwinty::Order.new(
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
78
|
+
shippingMethod: "Budget",
|
79
|
+
recipient: {
|
80
|
+
name: "Tom Harvey",
|
81
|
+
},
|
82
|
+
items: [
|
83
|
+
{
|
84
|
+
sku: "GLOBAL-PHO-4X6-PRO",
|
85
|
+
copies: 1,
|
86
|
+
assets: [
|
87
|
+
{url: 'https://example.com/image.jpg'},
|
88
|
+
],
|
89
|
+
attributes: {finish: 'lustre'},
|
90
|
+
},
|
91
|
+
]
|
92
92
|
)
|
93
93
|
|
94
94
|
submitted_order = order.submit
|
data/lib/pwinty/version.rb
CHANGED
data/lib/pwinty.rb
CHANGED
@@ -14,7 +14,7 @@ module Pwinty
|
|
14
14
|
class AuthenticationError < Pwinty::Error; end
|
15
15
|
class InvalidContentTypeHeader < Pwinty::Error; end
|
16
16
|
class MethodNotAllowed < Pwinty::Error; end
|
17
|
-
class
|
17
|
+
class NotFound < Pwinty::Error; end
|
18
18
|
class StateIsInvalid < Pwinty::Error; end
|
19
19
|
class ValidationError < Pwinty::Error; end
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwinty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Harvey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|