muffin_man 1.5.9 → 1.5.10
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/muffin_man/fulfillment_inbound/v0.rb +6 -1
- data/lib/muffin_man/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f077ec0f83f067c863c9c704d1bbafe089fb2a86163334aec78a6c7b314e80
|
4
|
+
data.tar.gz: 3d08c4f8b1669946ae37402a60e0a587dd86fb1c9178c90d930014a78dc5808f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37a390862e651d6d234253c3b5cf590ddee5299d53408b0c83a4a1a214a4e829ec94be63565d193191d0e5c714c24642054f20741a2b71175311f652aa4a3c1b
|
7
|
+
data.tar.gz: 788dd07230db3c66e64d049db004e09b483120bba67bb17e5aa4d72d6624c5f9e07f6d4520ce33dad8bdcbb56db34a034eff17f98f9e24f5e7c10fcb902c8d4f
|
data/CHANGELOG.md
CHANGED
@@ -100,25 +100,30 @@ module MuffinMan
|
|
100
100
|
call_api
|
101
101
|
end
|
102
102
|
|
103
|
+
SANDBOX_SHIPMENT_ID = "shipmentId1"
|
103
104
|
def estimate_transport(shipment_id)
|
105
|
+
shipment_id = SANDBOX_SHIPMENT_ID if sandbox
|
104
106
|
@local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/transport/estimate"
|
105
107
|
@request_type = "POST"
|
106
108
|
call_api
|
107
109
|
end
|
108
110
|
|
109
111
|
def get_transport_details(shipment_id)
|
110
|
-
|
112
|
+
shipment_id = SANDBOX_SHIPMENT_ID if sandbox
|
113
|
+
@local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/transport"
|
111
114
|
@request_type = "GET"
|
112
115
|
call_api
|
113
116
|
end
|
114
117
|
|
115
118
|
def confirm_transport(shipment_id)
|
119
|
+
shipment_id = SANDBOX_SHIPMENT_ID if sandbox
|
116
120
|
@local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/transport/confirm"
|
117
121
|
@request_type = "POST"
|
118
122
|
call_api
|
119
123
|
end
|
120
124
|
|
121
125
|
def void_transport(shipment_id)
|
126
|
+
shipment_id = SANDBOX_SHIPMENT_ID if sandbox
|
122
127
|
@local_var_path = "/fba/inbound/v0/shipments/#{shipment_id}/transport/void"
|
123
128
|
@request_type = "POST"
|
124
129
|
call_api
|
data/lib/muffin_man/version.rb
CHANGED