shipstation 0.15.5 → 0.16.5
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/lib/shipstation/shipment.rb +7 -1
- data/lib/shipstation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 240727bb719dd095c8286f787e325450c2f25be7
|
|
4
|
+
data.tar.gz: f408f6b33e098c292eb9e9e3a6983873772c06d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff10333940a2c918ae056ec13f946e129efb635d81c6473d8a417aae7a884ee4c9a29eb344cd4c508713e0db6e030fea3f88d9f86a8f35cbc09be965f0288466
|
|
7
|
+
data.tar.gz: ef89637da0992b4de87bd8ebbfb6d5a8e611a71a694cc1ee0dd2208894a256ec6d5c03102fdb8937815b272eda9d94fb98678bb35fd0a15cf6512d01d39a6327
|
data/lib/shipstation/shipment.rb
CHANGED
|
@@ -3,11 +3,17 @@ module Shipstation
|
|
|
3
3
|
extend Shipstation::APIOperations::List
|
|
4
4
|
|
|
5
5
|
class << self
|
|
6
|
-
def get_rates
|
|
6
|
+
def get_rates(params = {})
|
|
7
7
|
response = Shipstation.request(:post, "shipments/getrates", params)
|
|
8
8
|
|
|
9
9
|
return response
|
|
10
10
|
end
|
|
11
|
+
|
|
12
|
+
def create_label(params = {})
|
|
13
|
+
response = Shipstation.request(:post, 'shipments/createlabel', params)
|
|
14
|
+
|
|
15
|
+
response
|
|
16
|
+
end
|
|
11
17
|
end
|
|
12
18
|
end
|
|
13
19
|
end
|
data/lib/shipstation/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.16.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Dallimore
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|