smartsend-ruby 0.4.1 → 0.4.2

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: 254bd41f0861a5e858b8a1b216995de13712a897
4
- data.tar.gz: 3faf660f6fe8683e8295462a7795005438d0f73a
3
+ metadata.gz: d8d7295a3bcb70d63ea51e0a6cb809a3336b7123
4
+ data.tar.gz: 7890511bdfc9b699ecb3ef0c0951428e6c26350d
5
5
  SHA512:
6
- metadata.gz: bdde320ae725d240866496cc64632e1d5afed64ce3c82520f7db66161990a0db2e2e9ba422081248c3abcd76aebe17c50d3037145e52165d8527a479d704c500
7
- data.tar.gz: 237d2dc127458e48b003005c2daa58d940e80bb703e709df032d8e7e1b252bdc05e8edcc06bb063960674253515012d477ad86f71b88b6435fd5f1d71452a2a5
6
+ metadata.gz: b0cc425284705a3ab16f531a5e56a3e21a7e61230b4473188fc97f7ce4f826d3b349f381a5c7f85ce12d0519d0680353bc6b8f9c284c7fe551b90c4d6f67bf2e
7
+ data.tar.gz: '08bb58a6a989159e254ef445433e995b4981dea9bcca35818d85fe86f29fb795f8d946928d590ab2c6bb5c0c699553edf69edbcc54e5226a83320a771ca856d0'
data/README.md CHANGED
@@ -150,3 +150,8 @@ account = Smartsend::Account.new(
150
150
  account.valid?
151
151
  => false
152
152
  ```
153
+
154
+ ## Changelog
155
+
156
+ ### [0.4.2] - 2018-05-03
157
+ * Changed `sub_total` to `subtotal`
@@ -1,8 +1,8 @@
1
1
  class Smartsend::Shipment
2
2
  attr_accessor :internal_id, :internal_reference, :shipping_carrier,
3
3
  :shipping_method, :shipping_date, :sender, :receiver, :agent,
4
- :parcels, :services, :sub_total_price_excluding_tax,
5
- :sub_total_price_including_tax, :shipping_price_excluding_tax,
4
+ :parcels, :services, :subtotal_price_excluding_tax,
5
+ :subtotal_price_including_tax, :shipping_price_excluding_tax,
6
6
  :shipping_price_including_tax, :total_price_excluding_tax,
7
7
  :total_price_including_tax, :total_tax_amount, :currency,
8
8
  :success, :error, :labels_url
@@ -53,8 +53,8 @@ class Smartsend::Shipment
53
53
  :agent => agent&.serialize,
54
54
  :parcels => parcels.map(&:serialize),
55
55
  :services => services&.serialize,
56
- :sub_total_price_excluding_tax => sub_total_price_excluding_tax,
57
- :sub_total_price_including_tax => sub_total_price_including_tax,
56
+ :subtotal_price_excluding_tax => subtotal_price_excluding_tax,
57
+ :subtotal_price_including_tax => subtotal_price_including_tax,
58
58
  :shipping_price_excluding_tax => shipping_price_excluding_tax,
59
59
  :shipping_price_including_tax => shipping_price_including_tax,
60
60
  :total_price_excluding_tax => total_price_excluding_tax,
@@ -1,3 +1,3 @@
1
1
  module Smartsend
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartsend-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aske Hansen