easyship-rates-ruby-api 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/easyship/rates/ruby/api/api/rates.rb +12 -0
- data/lib/easyship/rates/ruby/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d62955745278b51833230880d7173a6f6b62368
|
|
4
|
+
data.tar.gz: e01147341fdd4ec3441f91cc58649b58323a095a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37e0766041acc737021e9b7fb9c4304676caddadb597bba5ab13f93420bcdf0d62dff552b0a7bbc48cf63340d7666e8f93a939d9a631d9d855fe2ff7491e98f4
|
|
7
|
+
data.tar.gz: 9cfb1d6bc7829af46edc500f105bb4545eb4579d0f73e0b8c9a229d1fe09e2a4665c3aca08f78a1e053ef4b63a85f77c6754e6300538f73cf95dd2b3a76bb747
|
|
@@ -41,6 +41,18 @@ module EasyshipRatesRubyApi
|
|
|
41
41
|
defaults = {}
|
|
42
42
|
Mash.from_json(post(path, defaults.merge(options)).body)
|
|
43
43
|
end
|
|
44
|
+
|
|
45
|
+
# Retrieve a Base Price
|
|
46
|
+
#
|
|
47
|
+
# @param [Hash] options the options to get rate.
|
|
48
|
+
# @option options [String] :courier_id courier_id
|
|
49
|
+
# @option options [String] :destination_country_id destination_country_id
|
|
50
|
+
# @option options [String] :total_actual_weight total_actual_weight
|
|
51
|
+
# @return [Easyship::Rates::Ruby::Mash]
|
|
52
|
+
def get_base_price(options = {})
|
|
53
|
+
path = '/get_base_price'
|
|
54
|
+
simple_query(path, options)
|
|
55
|
+
end
|
|
44
56
|
end
|
|
45
57
|
end
|
|
46
58
|
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.4.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-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth2
|