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 +4 -4
- data/lib/companies_house/client.rb +2 -2
- data/lib/companies_house/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1c01cfce832a9c2fb2c544a4287721b6fc1e85
|
4
|
+
data.tar.gz: ad77694ac9c7a906babe0f55a8efe3e790fa51a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
39
|
+
register_view: register_view,
|
40
40
|
)
|
41
41
|
end
|
42
42
|
|