notifications-ruby-client 6.1.0 → 6.2.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
  SHA256:
3
- metadata.gz: dcf0cee013cca39da0d0e3da3e7205ec6ab7d33dfea9c182b4aab80555b779a0
4
- data.tar.gz: 1049787ca14191e6f944cc0029991f49b7d6af3525c998a8e7749b44d9c5f0ba
3
+ metadata.gz: 3bed01407fc2e19df7f65f9be76877f250bda03e9c7db644bfa86b7d83342f67
4
+ data.tar.gz: cf02533dcabab2d337aac521e338845d587417d25d238d5bc549feccc99b79e2
5
5
  SHA512:
6
- metadata.gz: a2098a9b4e86f186e46daa0e6f8ae20549aefbce3992c80724d15b1a7e58afa5ef0c73e4ef78f1a2840ac6dd5bde09d2e52cbfe5006492f5a595c57743028c9e
7
- data.tar.gz: 9de9f0c4b8f41a3dc6b406da037f4b17a33bd3060c30eb991ea4c9013997af051117b6a924a2597d5aa6987b2e70a902c77d43c4f9ad13498a201395fef8ef5a
6
+ metadata.gz: a1f891ddcaf3120c3ab90f01b990178e879c0e785fe27734b017bdaa990a04fc430ed25e5d0b27ed3e6eed5b42a9022fa6dac34e3d7d2ecaae1f2112a6051838
7
+ data.tar.gz: ea20265635c620d5ee7873e6cce5dd8983db0a3489b4aecb9f09122a4c49d07a3a90f1a1eca1e29bb4bf5df0634e856c67c631c9fc0e416439ceb5976e769876
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 6.2.0
2
+ * Added fields related to cost data in response:
3
+ * `is_cost_data_ready`: This field is true if cost data is ready, and false if it isn't (Boolean).
4
+ * `cost_in_pounds`: Cost of the notification in pounds. The cost does not take free allowance into account (Float).
5
+ * `cost_details.billable_sms_fragments`: Number of billable SMS fragments in your text message (SMS only) (Integer).
6
+ * `cost_details.international_rate_multiplier`: For international SMS rate is multiplied by this value (SMS only) (Integer).
7
+ * `cost_details.sms_rate`: Cost of 1 SMS fragment (SMS only) (Float).
8
+ * `cost_details.billable_sheets_of_paper`: Number of sheets of paper in the letter you sent, that you will be charged for (letter only) (Integer).
9
+ * `cost_details.postage`: Postage class of the notification sent (letter only) (String).
10
+
1
11
  ## 6.1.0
2
12
 
3
13
  * Adds a `one_click_unsubscribe_url` parameter to `send_email` so services can allow users to easily unsubscribe from distribution lists.
@@ -26,6 +26,9 @@ module Notifications
26
26
  completed_at
27
27
  created_by_name
28
28
  one_click_unsubscribe_url
29
+ cost_in_pounds
30
+ is_cost_data_ready
31
+ cost_details
29
32
  ).freeze
30
33
 
31
34
  attr_reader(*FIELDS)
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Notifications
11
11
  class Client
12
- VERSION = "6.1.0".freeze
12
+ VERSION = "6.2.0".freeze
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifications-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt