root_insurance 1.7.0 → 1.7.1

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: 62a647203615d6e8ffd22c1654677fb4755b45af
4
- data.tar.gz: 7d3f11e7b5d273f9cad9622dd7622820be04661e
3
+ metadata.gz: fd71b6f5e7fa7bb9053605102f0c6c787640e8fb
4
+ data.tar.gz: 1a8ee2517adec83a177f205ee1622aa976370d64
5
5
  SHA512:
6
- metadata.gz: ef10763848eceb0d098fd20c2152854261f03007a5e733ed57048c503844f08412977bbfa0e964189e6bd272d5f7ecf8fe54ac09d253742c2ae8f8d77ea86b17
7
- data.tar.gz: 3d4cc78024c42e96757002ec26c05cad8454f7c2101b068272d7c5d2422946eab2247293f607bf38076497f78c1f4291666461b11e29d92a76ee4e346fea34e2
6
+ metadata.gz: ae1b1771711520f7a94a15931b94a23cc991ed10b19afa8a980a76916b88ee5fa6ed0f21bcb3151b53a4021434cb1c2ba9bccc249b3a8fbab1f3a9ac7d39b6ba
7
+ data.tar.gz: 7feef0fa440d5aa9aa86271d9f369a76ef0eeaed525b4a1cdb33d72456dc21e5cbee1e7959af226e4dff11969f1c6dff314d3d17964a9593446fb59cd7e2a1c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ # 1.7.1 - Release date: 2018-16-05
4
+ * Documentation fixes
5
+
6
+
3
7
  # 1.7.0 - Release date: 2018-16-05
4
8
  * Added missing support for funeral and term modules when creating application
5
9
 
@@ -8,9 +8,16 @@ module RootInsurance::Api
8
8
  # @param [Integer] monthly_premium The monthly premium (in cents)
9
9
  # @param [String] serial_number The device to insure's serial number. (for the gadgets module)
10
10
  # @param [String] spouse_id SA ID number of the policyholder's spouse. Required if has_spouse is true on the quote.
11
- # @param [Array<String>] children_ids SA ID numbers of the policyholder's children. Required if number_of_children is greater than 0 on the quote. All children must be younger than 21.
12
- # @param [Array<String>] SA ID number of the policyholder's extended family members. Required if the length of +extended_family_ages+ is greater than 0 on the quote. The ages inferred from the ID numbers must match the ages given in the quote step.
11
+ # @param [Array<String>] children_ids SA ID numbers of the policyholder's children. Required if +number_of_children+ is greater than 0 on the quote. All children must be younger than 21.
12
+ # @param [Array<String>] extended_famliy_ids SA ID number of the policyholder's extended family members. Required if the length of +extended_family_ages+ is greater than 0 on the quote. The ages inferred from the ID numbers must match the ages given in the quote step.
13
13
  # @return [Hash]
14
+
15
+ # @example
16
+ # client.create_application(
17
+ # policyholder_id: "bf1ada91-eecb-4f47-9bfa-1258bb1e0055",
18
+ # quote_package_id: "f4397823-db4a-4d6a-a06b-08e1a2a3172c",
19
+ # monthly_premium: 50000,
20
+ # serial_number: "1234567890")
14
21
  def create_application(policyholder_id:, quote_package_id:, monthly_premium:,
15
22
  serial_number: nil, spouse_id: nil, children_ids: nil, extended_famliy_ids: nil)
16
23
  data = {
@@ -1,3 +1,3 @@
1
1
  module RootInsurance
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: root_insurance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Root Wealth