packlink_lite 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/lib/packlink_lite.rb +4 -4
- data/lib/packlink_lite/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: 531a7a03fd939759e37dd8aef035b54ffa7076cd
|
4
|
+
data.tar.gz: cc1baf12821e340d49e9e3f5db2c51b681ce8bf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7adad897358c5c4fbee08d41531bc83205e50ae82eca73a1ed6d3b6ae51bb84baa640a179be5503800f80c659c6e2ee85c3b3ab1dca8b5b4ceba3446a9def8ba
|
7
|
+
data.tar.gz: dd80aa5a7301308213889910793b2aea0307678c1ced38d5b113f925606e682aaa3fb7f2c2deb4a7fddeee0943518fa3a9edd4bd71b511cbc446bc360601530e
|
data/.travis.yml
CHANGED
data/lib/packlink_lite.rb
CHANGED
@@ -30,11 +30,11 @@ module PacklinkLite
|
|
30
30
|
config.testing? ? SANDBOX_URL : PRODUCTION_URL
|
31
31
|
end
|
32
32
|
|
33
|
-
def change_shipment_callback_url(url)
|
34
|
-
client.post('shipments/callback', { url: url }, parse_response: false)
|
33
|
+
def change_shipment_callback_url(url, options = {})
|
34
|
+
client.post('shipments/callback', { url: url }, options.merge(parse_response: false))
|
35
35
|
end
|
36
36
|
|
37
|
-
def change_tracking_callback_url(url)
|
38
|
-
client.post('shipments/tracking_callback', { url: url }, parse_response: false)
|
37
|
+
def change_tracking_callback_url(url, options = {})
|
38
|
+
client.post('shipments/tracking_callback', { url: url }, options.merge(parse_response: false))
|
39
39
|
end
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packlink_lite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurynas Butkus
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|