companies-house-rest 0.4.0 → 0.4.1

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: 16492c4a1e345ed9aa639feec2f5643cee73bb88
4
- data.tar.gz: 5e4eed3091473b4bfa5ef4809b00fe8f04b6e8b5
3
+ metadata.gz: 9b1c01cfce832a9c2fb2c544a4287721b6fc1e85
4
+ data.tar.gz: ad77694ac9c7a906babe0f55a8efe3e790fa51a7
5
5
  SHA512:
6
- metadata.gz: d9d95e1da9d81f11ac54a41326d326fd81cf97ddf1c9f3260bebda803a9d4207efb784495261cb9b1043cfd44422c85455ded0bb9bedf8f0bb704a2598879c31
7
- data.tar.gz: 8e7b0791cfce1a2880a1f0fbcaadd779884f2a1c529b163a1bebf0deddd4c2dfcb7be2ab508105143a1805fff94c49462f53ba620ad251505adcc60a2f483a78
6
+ metadata.gz: c923c599922e84dd21b1fbe80eda870157db94083880d736d672fe3aae5d91929f98f1111a162c46fb75f0bc2a819f7e06d192c7d41f93fcc04f2407172b242a
7
+ data.tar.gz: a98442b4069835d97c7368b6edeedc5ff0c71cca3f40b139853decba85be301b0f78cb0316c9c55848ef2845ff952b143c805d8765de6495173c8fbd8366184c
@@ -31,12 +31,12 @@ module CompaniesHouse
31
31
  get_all_pages(:officers, "company/#{id}/officers", id)
32
32
  end
33
33
 
34
- def persons_with_significant_control(id)
34
+ def persons_with_significant_control(id, register_view: false)
35
35
  get_all_pages(
36
36
  :persons_with_significant_control,
37
37
  "company/#{id}/persons-with-significant-control",
38
38
  id,
39
- register_view: true,
39
+ register_view: register_view,
40
40
  )
41
41
  end
42
42
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompaniesHouse
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: companies-house-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless Engineering