easyship-rates-ruby-api 0.4.0 → 0.5.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: e5abfadb23dcb748e5a8172cd5526780390a2035
|
4
|
+
data.tar.gz: e9262d8281ff796ddac00e80c113e806e18520e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e37ade804407d62b693dc6597b1affe237fa53417b2b776524179cbd638ff4c8cf8e32750043c13e12ee1abe00242478a0c2889409a97e8f63e8804d934fb75d
|
7
|
+
data.tar.gz: 09d71415c216746f2678ecc141375afcd6f91bcb71bafcca6754d34e14ad17b09c75792109d5ac5b1246e3362d548888145dcc9edfc96f4a277ac9d9dece555c
|
@@ -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 Couriers
|
9
|
+
# Update/Create Couriers
|
10
|
+
# only used by internal service
|
11
|
+
# @return [Easyship::Rates::Ruby::Mash]
|
12
|
+
def update_courier(options = {})
|
13
|
+
path = '/update_courier'
|
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.
|
4
|
+
version: 0.5.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-08-
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- bin/setup
|
125
125
|
- easyship-rates-ruby-api.gemspec
|
126
126
|
- lib/easyship/rates/ruby/api/api.rb
|
127
|
+
- lib/easyship/rates/ruby/api/api/couriers.rb
|
127
128
|
- lib/easyship/rates/ruby/api/api/query_helpers.rb
|
128
129
|
- lib/easyship/rates/ruby/api/api/rates.rb
|
129
130
|
- lib/easyship/rates/ruby/api/client.rb
|