easyship-rates-ruby-api 0.6.4 → 0.6.5
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: 6a033979dcab160f9a39964c3093fe9937536cd1
|
4
|
+
data.tar.gz: 2fef77edc56e741bf63ace543e09f5c6801d5109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 123d79389687ae53cc7af62cec13d0fb0ed9b5d4dbaaf1bb51b7c68c0516dd0753e3b5091d71b0c511c49dd1691508fae69a54a842f2174743828a48389b59d3
|
7
|
+
data.tar.gz: 4569c203536360885dc2f1b51ffa54044b1bd3701fcc5049889b0dcd5d15cc7447a31b7addc5c3fcf72584050b2dbd486f01bc670fdd1043126522b4d88bb724
|
@@ -1,7 +1,8 @@
|
|
1
1
|
module EasyshipRatesRubyApi
|
2
2
|
module Api
|
3
3
|
autoload :QueryHelpers, 'easyship/rates/ruby/api/api/query_helpers'
|
4
|
-
autoload :Rates,
|
5
|
-
autoload :Couriers,
|
4
|
+
autoload :Rates, 'easyship/rates/ruby/api/api/rates'
|
5
|
+
autoload :Couriers, 'easyship/rates/ruby/api/api/couriers'
|
6
|
+
autoload :Users, 'easyship/rates/ruby/api/api/users'
|
6
7
|
end
|
7
8
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module EasyshipRatesRubyApi
|
2
|
+
module Api
|
3
|
+
# Rate API
|
4
|
+
#
|
5
|
+
# @see https://github.com/easyship/easyship-rates Rate API
|
6
|
+
#
|
7
|
+
# [(contribute here)](https://github.com/easyship/easyship-rates-ruby-api)
|
8
|
+
module Users
|
9
|
+
# Update Users
|
10
|
+
# only used by internal service
|
11
|
+
# @return [Easyship::Rates::Ruby::Mash]
|
12
|
+
def update_user(options = {})
|
13
|
+
path = '/users/update'
|
14
|
+
defaults = {}
|
15
|
+
Mash.from_json(post(path, defaults.merge(options)).body)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
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.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aloha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- lib/easyship/rates/ruby/api/api/couriers.rb
|
128
128
|
- lib/easyship/rates/ruby/api/api/query_helpers.rb
|
129
129
|
- lib/easyship/rates/ruby/api/api/rates.rb
|
130
|
+
- lib/easyship/rates/ruby/api/api/users.rb
|
130
131
|
- lib/easyship/rates/ruby/api/client.rb
|
131
132
|
- lib/easyship/rates/ruby/api/errors.rb
|
132
133
|
- lib/easyship/rates/ruby/api/helpers.rb
|