easyship-rates-ruby-api 0.5.0 → 0.6.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: e5abfadb23dcb748e5a8172cd5526780390a2035
4
- data.tar.gz: e9262d8281ff796ddac00e80c113e806e18520e3
3
+ metadata.gz: 27e4c340ab5c216d88d0cf00e8e19e807b98c3d4
4
+ data.tar.gz: 7ea0cf434b7994054fde1c936a73eecc39ef250e
5
5
  SHA512:
6
- metadata.gz: e37ade804407d62b693dc6597b1affe237fa53417b2b776524179cbd638ff4c8cf8e32750043c13e12ee1abe00242478a0c2889409a97e8f63e8804d934fb75d
7
- data.tar.gz: 09d71415c216746f2678ecc141375afcd6f91bcb71bafcca6754d34e14ad17b09c75792109d5ac5b1246e3362d548888145dcc9edfc96f4a277ac9d9dece555c
6
+ metadata.gz: 8f1149bcccd568ef9045587dfa5835f78768a39498d619a973284562b97d15d223cf17e3b955b4a71b2ef5d66038ca6aad371374b5546b31d7c3aea983312f75
7
+ data.tar.gz: fd78b2dd7bf02653f41b7241912887d3c74a7412752e3039deee8bdbdf16ae4be016ddafd83151d063888fcfd3a37936c6e7b7b165fcf8b8466247eea73c28b8
@@ -53,6 +53,17 @@ module EasyshipRatesRubyApi
53
53
  path = '/get_base_price'
54
54
  simple_query(path, options)
55
55
  end
56
+
57
+
58
+ # Update Rate by courier admin name
59
+ # @param [Hash] options the options to get rate.
60
+ # @option options [String] :admin_name
61
+ # @return [Easyship::Rates::Ruby::Mash]
62
+ def update_rates(options = {})
63
+ path = '/update_rates'
64
+ defaults = {}
65
+ Mash.from_json(post(path, defaults.merge(options)).body)
66
+ end
56
67
  end
57
68
  end
58
69
  end
@@ -1,7 +1,7 @@
1
1
  module EasyshipRatesRubyApi
2
2
  module Version #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 5
4
+ MINOR = 6
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.5.0
4
+ version: 0.6.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-24 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2