root_insurance 1.1.2 → 1.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
  SHA1:
3
- metadata.gz: b322e5145c26c5d14adf3a5d0d936cd4314fba44
4
- data.tar.gz: d53928529132cbed524028590b4e81b79d69df9e
3
+ metadata.gz: 8c1da31b9aa56acb1c59600a99f5d3502b5652b0
4
+ data.tar.gz: 1362800d6e01d76f81715ed09f5419630841454a
5
5
  SHA512:
6
- metadata.gz: 9cbc00d0168ef232b4e98b735b618ad5bf06b8a05a9cf0831601f8f38213aaf81b18dd815236a7945e16cd92b3682c76de2e1fc75ccdcfbe56553ffca739504a
7
- data.tar.gz: ddc860a117b6696d960411b2fdf58bfe24b609ada1d0dbde3c71cb17f73623b63bc0ae3217df183790c07295e3c44def52246766f0ab680b638cb093b51b457d
6
+ metadata.gz: 6a066416547d3792e8b1da9646396fdfd18f3b56c25f3921ca36a0ef1a781dc9f11aa7ca838ae99def197803fb036b79be77d06610ab42f4b96a511a38c452a9
7
+ data.tar.gz: 295bf520d3199e5b28c9a285fe16ac6c8751926e47f8d77a03f7cfa877fdeba69dfaa730bab7715b061c56eca4d1b80bae25a204a6c971b3af0a39e90076b5fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ # 1.2.0 - Release date: 2018-14-05
4
+ * Support all params for claim creation
5
+
6
+
3
7
  # 1.1.2 - Release date: 2018-14-05
4
8
  * Make claim events api consistent
5
9
 
@@ -15,10 +15,17 @@ module RootInsurance::Api
15
15
  get("claims/#{id}")
16
16
  end
17
17
 
18
- def open_claim(policy_id: nil, policy_holder_id: nil)
18
+ def open_claim(policy_id: nil, policy_holder_id: nil, incident_type: nil, incident_cause: nil,
19
+ incident_date: nil, app_data: nil, claimant: nil, requested_amount: nil)
19
20
  data = {
20
21
  policy_id: policy_id,
21
- policy_holder_id: policy_holder_id
22
+ policy_holder_id: policy_holder_id,
23
+ incident_type: incident_type,
24
+ incident_cause: incident_cause,
25
+ incident_date: incident_date,
26
+ app_data: app_data,
27
+ claimant: claimant,
28
+ requested_amount: requested_amount
22
29
  }.reject { |key, value| value.nil? }
23
30
 
24
31
  post(:claims, data)
@@ -1,3 +1,3 @@
1
1
  module RootInsurance
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.0"
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.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Root Wealth