easyship-rates-ruby-api 0.1.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e3975acf0eb8e6da09bec9e99096bd022bbf9c
|
4
|
+
data.tar.gz: 358dded34510f12456e9fd0808aea4084af60885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6b83ad6e84b3d8fe750190ea445df20e70a0642ffd7fdf3ee67df689cece92b6c3cfb50537de4a0e832e0097fe014a4e9be8f8801fb5712dee57e145706b55d
|
7
|
+
data.tar.gz: dce7dfea58e9a463e28d7b04c0d1db5139d5832561219f22cc7c5fe0efb542185739385cf9cc29afbb83ab4c4610e90d7fac6ae6ecc936fdbe1bc4a94c442e86
|
data/README.md
CHANGED
@@ -39,6 +39,8 @@ module EasyshipRatesRubyApi
|
|
39
39
|
private_key: OpenSSL::PKey::RSA.new(@client_secret),
|
40
40
|
scope: 'get_rate get_all_rate me'
|
41
41
|
}.merge(client_params)
|
42
|
+
rescue OpenSSL::PKey::RSAError
|
43
|
+
raise EasyshipRatesRubyApi::Errors::ClientSecretError, 'Client Secret is not correct'
|
42
44
|
end
|
43
45
|
end
|
44
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easyship-rates-ruby-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aloha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|