sealine_insurance 1.0.2 → 1.0.3

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: 4b4d5ea8dad442272118a4d2feec5961272eb9a4
4
- data.tar.gz: 022f972433736ffda4f5dd9964977dbc066f3263
3
+ metadata.gz: c305ca10baecc4122d3d3e045a5784073a1b4c9f
4
+ data.tar.gz: f9470d2ef01ae0e791a20dba0ae3100cc1262aea
5
5
  SHA512:
6
- metadata.gz: 29208d8432593e45da8f88bbf03479416b1a44b488663ea7deee01f43dff71daef64285790ce09f03923a99184e8c950e16b9d9c45b968400176f3c1ab96a98c
7
- data.tar.gz: 3e5bd19fe9574f9dc06918ca75cb8ca90e0d4070b93313724d523621488da7e761dea5eab4e0727cbb8647331ab05ae4183c6e0b2944cb94a636339e8b679644
6
+ metadata.gz: 58f877fae4ff8c490a4fb8f90e330376c2a60d6637911580b78c48b057d0908093339a4c2d791ff4b9c0e3685ad000573d5855c927e82407714499575408a3c5
7
+ data.tar.gz: 51c2c0f7172e3556ac6c4b747978fe9b3b82093931c4dd7a6a503d10d54fc8c6fe9f2bc7e7b758708ed179e8a409463c17595840cded53e980a3bb8da99f41fa
@@ -31,6 +31,10 @@ module SealineInsurance
31
31
  to_money(body['price'])
32
32
  end
33
33
 
34
+ def coverage
35
+ to_money(body.dig('result_data', 'coverage'))
36
+ end
37
+
34
38
  def documents
35
39
  body['documents'] || []
36
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SealineInsurance
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sealine_insurance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Khrebtov