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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec307f28b6dcfe6f663c43f2c270d3c718d9a905
4
- data.tar.gz: cc9af5d983a658a70c1a61be3db22092bc1b3646
3
+ metadata.gz: 5d62955745278b51833230880d7173a6f6b62368
4
+ data.tar.gz: e01147341fdd4ec3441f91cc58649b58323a095a
5
5
  SHA512:
6
- metadata.gz: 71b7e9759c7d120fc1f98a8de92f146dbe1e8c8fa8b56ca3552d043986025256fffbe4769399dd0f8983d43a3819a6e2037faf88c258aa00f069819c54741602
7
- data.tar.gz: d4b32501dfd03d512457c710e26bc7dbd9491fa32dd64774c9007abd64cb8dcbf5608f7bf40e8733ba8a1df899451345ddc580a5f169a943ab5310a6e501f8b1
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
@@ -1,7 +1,7 @@
1
1
  module EasyshipRatesRubyApi
2
2
  module Version #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 3
4
+ MINOR = 4
5
5
  PATCH = 0
6
6
  PRE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
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.3.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-10 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2