janio_api 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/janio_api/resources/base.rb +0 -12
- data/lib/janio_api/resources/order.rb +1 -5
- data/lib/janio_api/version.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: ae0cb146ffba0fbc7662773a8325a9cd72a6e5eb7714973acc335dfc9d717097
|
4
|
+
data.tar.gz: 5ff252c4242ce0d9d3b4b0446daadd9b0841b9af291507145f5bb2b47d137875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbba3362c3a30f88300346b69205fca18d622503ff65dea468776a11f14d31c51d29b12b9a7b6e36bad6b35a7d3dea09166003281b649f1d306351ef7ff13ce5
|
7
|
+
data.tar.gz: 0abe6280d48b98d3c9e4598aa9c72326789001e6f949e31e51ee954b35d176ed3e126a6bbd137baa22c1bc7dbf89798705b440bfe122ff608acd120134c51ce5
|
@@ -117,7 +117,7 @@ module JanioAPI
|
|
117
117
|
# Track one or more tracking nos
|
118
118
|
#
|
119
119
|
# Check http://apidocs.janio.asia/track for more information
|
120
|
-
def track(tracking_nos
|
120
|
+
def track(tracking_nos)
|
121
121
|
raise ArgumentError, "tracking_nos must be an array" unless tracking_nos.is_a?(Array)
|
122
122
|
|
123
123
|
body = {
|
@@ -126,10 +126,6 @@ module JanioAPI
|
|
126
126
|
tracking_nos: tracking_nos
|
127
127
|
}
|
128
128
|
|
129
|
-
headers[:secret_key] = secret_key unless secret_key.nil?
|
130
|
-
|
131
|
-
raise ArgumentError, "secret_key can't be blank" unless headers[:secret_key].present?
|
132
|
-
|
133
129
|
retries = 0
|
134
130
|
begin
|
135
131
|
retries += 1
|
data/lib/janio_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: janio_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Chong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeresource
|