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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44fb7248d5f3477108d05cd90394c4d2f1571a8a
4
- data.tar.gz: 34a4deaf2e3ac066feecb8d27a1f2dcde485c4a5
3
+ metadata.gz: 531a7a03fd939759e37dd8aef035b54ffa7076cd
4
+ data.tar.gz: cc1baf12821e340d49e9e3f5db2c51b681ce8bf1
5
5
  SHA512:
6
- metadata.gz: 2afa900dc142db2d9f5a4f0f2e9587ba130ad9e5a84305f9f0b2b728728befa97bf59a80f03313ed6d2aa3b25759d23f6793f2a037ae6e3b7a0258d7b96be7f6
7
- data.tar.gz: 798ee30ffdaae90678d220ec773917ea2e659ba473ee45f2ab2e0b2404b91d8fabbd5b0bb6fb7474152381d75357469e4818d6ace46461c60ee1b0cd65a99137
6
+ metadata.gz: 7adad897358c5c4fbee08d41531bc83205e50ae82eca73a1ed6d3b6ae51bb84baa640a179be5503800f80c659c6e2ee85c3b3ab1dca8b5b4ceba3446a9def8ba
7
+ data.tar.gz: dd80aa5a7301308213889910793b2aea0307678c1ced38d5b113f925606e682aaa3fb7f2c2deb4a7fddeee0943518fa3a9edd4bd71b511cbc446bc360601530e
data/.travis.yml CHANGED
@@ -3,4 +3,5 @@ rvm:
3
3
  - 2.1.3
4
4
  - 2.2.3
5
5
  - 2.3.0
6
+ - 2.4.1
6
7
  before_install: gem install bundler -v 1.11.2
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
@@ -1,3 +1,3 @@
1
1
  module PacklinkLite
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  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.2.1
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: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday