companies_house_hub 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/README.md +4 -0
- data/data/filing_history_descriptions.yml +92 -26
- data/lib/companies_house_hub/filing_history_formatter.rb +1 -1
- data/lib/companies_house_hub/models/company.rb +6 -1
- data/lib/companies_house_hub/models/person.rb +1 -1
- data/lib/companies_house_hub/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c959d0e3a619abb34e68b365e115b24e0e8314256d6e85f43d994ca191a71403
|
4
|
+
data.tar.gz: '08ac2d7e6889a285fdedead2498cbf72198f43d6c1f2be0aa90052d313ef6d8f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b9927a7a0948bc420e1e034ca997e2a2dcdcab9448ed342c06e36b8ebca363cbb03c69f60bb2f7a6c63b36b0082b6f3ca16557e4f4d86e34f3e3e6916f0e7af
|
7
|
+
data.tar.gz: fe5d10e15c789a2409c440d449853ae1c6654e6e8b5202ac3b46813104502a2b5622b01b0cca0f8ea7302b8410c2823623b52bbebc8d5f1ed32f9102a4c3293d
|
data/.DS_Store
ADDED
Binary file
|
data/README.md
CHANGED
@@ -52,6 +52,10 @@ version, update the version number in `version.rb`, and then run `bundle exec ra
|
|
52
52
|
will create a git tag for the version, push git commits and tags, and push the `.gem` file
|
53
53
|
to [rubygems.org](https://rubygems.org).
|
54
54
|
|
55
|
+
### Enumerations
|
56
|
+
|
57
|
+
Check https://github.com/companieshouse/api-enumerations for the different data needed.
|
58
|
+
|
55
59
|
## Contributing
|
56
60
|
|
57
61
|
Bug reports and pull requests are welcome on GitHub at https://github.com/rikas/companies_house_hub.
|
@@ -1,6 +1,7 @@
|
|
1
1
|
---
|
2
2
|
description:
|
3
3
|
'liquidation-receiver-administrative-receivers-report' : "**Administrative Receiver's report**"
|
4
|
+
'liquidation-receiver-administrative-receivers-report-scotland' : "**Administrative Receiver’s report**"
|
4
5
|
'liquidation-compulsory-notice-winding-up' : "**Notice of order** of court to wind up."
|
5
6
|
'liquidation-voluntary-statement-of-affairs-with-form-attached' : "**Statement of affairs** with form {form_attached}"
|
6
7
|
'liquidation-voluntary-statement-of-affairs' : "**Statement of affairs**"
|
@@ -13,6 +14,7 @@ description:
|
|
13
14
|
'liquidation-voluntary-release-of-liquidator-by-secretary-of-state' : "**Removal of liquidator** by secretary of state"
|
14
15
|
'liquidation-voluntary-cease-to-act-as-liquidator' : "**Notice of ceasing to act as a voluntary liquidator**"
|
15
16
|
'liquidation-compulsory-return-final-meeting' : "**Notice of final account** prior to dissolution"
|
17
|
+
'liquidation-compulsory-return-final-meeting-court-scotland' : "**Final account prior to dissolution in a winding-up by the court**"
|
16
18
|
'liquidation-voluntary-death-liquidator' : "**Death of a liquidator**"
|
17
19
|
'liquidation-voluntary-vacation-liquidator' : "**Notice of vacation** of office of voluntary liquidator"
|
18
20
|
'liquidation-voluntary-constitution-liquidation-committee' : "**Notice of Constitution** of Liquidation Committee"
|
@@ -20,11 +22,15 @@ description:
|
|
20
22
|
'liquidation-voluntary-statement-of-receipts-and-payments-with-brought-down-date' : "**Liquidators' statement of receipts and payments** to {brought_down_date}"
|
21
23
|
'liquidation-voluntary-statement-of-receipts-and-payments' : "**Liquidators' statement of receipts and payments**"
|
22
24
|
'liquidation-voluntary-deferral-of-dissolution' : "**Notice of deferral of dissolution**"
|
25
|
+
'liquidation-voluntary-deferral-of-dissolution-scotland' : "**Order deferring the date of dissolution in MVL / CVL**"
|
23
26
|
'liquidation-voluntary-notice-of-limited-disclosure' : "**Notice of limited disclosure**"
|
24
27
|
'liquidation-voluntary-appeal' : "**Order of court on appeal** against Secretary of State's decision"
|
25
28
|
'liquidation-voluntary-declaration-of-solvency' : "**Declaration of solvency**"
|
26
29
|
'liquidation-voluntary-members-return-of-final-meeting' : "**Return of final meeting** in a members' voluntary winding up"
|
30
|
+
'liquidation-voluntary-members-return-of-final-meeting-scotland' : "**Final account prior to dissolution in MVL (final account attached)**"
|
27
31
|
'liquidation-voluntary-creditors-return-of-final-meeting' : "**Return of final meeting** in a creditors' voluntary winding up"
|
32
|
+
'liquidation-voluntary-creditors-return-of-final-meeting-scotland' : "**Final account prior to dissolution in CVL**"
|
33
|
+
'liquidation-voluntary-court-order-staying-or-sisting-winding-up-in-MVL-or-CVL-scotland' : "**Order staying/sisting proceedings in a winding-up in MVL or CVL**"
|
28
34
|
'liquidation-compulsory-early-completion' : "**Early completion of winding up**"
|
29
35
|
'liquidation-compulsory-early-completion-social-landlords' : "**Early completion of winding up**"
|
30
36
|
'liquidation-compulsory-defer-dissolution' : "**Dissolution deferment**"
|
@@ -35,6 +41,7 @@ description:
|
|
35
41
|
'liquidation-compulsory-appointment-provisional-liquidator-scotland' : "**Appointment of a provisional liquidator**"
|
36
42
|
'liquidation-compulsory-notice-winding-up-scotland' : "**Court order** notice of winding up"
|
37
43
|
'liquidation-compulsory-notice-winding-up-order' : "**Court order** notice of winding up"
|
44
|
+
'liquidation-compulsory-notice-winding-up-order-court-scotland' : "**Court order in a winding-up (& Court Order attachment)**"
|
38
45
|
'liquidation-compulsory-completion' : "**Completion of winding up**"
|
39
46
|
'liquidation-voluntary-defer-dissolution' : "**Deferment of dissolution** (voluntary)"
|
40
47
|
'liquidation-compulsory-winding-up-order-with-case-start-date' : "**Order of court** to wind up on {case_start_date}"
|
@@ -47,22 +54,36 @@ description:
|
|
47
54
|
'liquidation-compulsory-death-of-liquidator' : "**Notice of liquidator's death**"
|
48
55
|
'liquidation-compulsory-loss-of-qualification-as-insolvency-practitioner' : "**Notice of loss of qualification as insolvency practitioner**"
|
49
56
|
'liquidation-compulsory-removal-of-liquidator-by-court' : "**Notice of removal** of liquidator by court"
|
57
|
+
'liquidation-compulsory-early-dissolution-court-scotland' : "**Court order for early dissolution in a winding-up by the court**"
|
58
|
+
'liquidation-compulsory-defer-dissolution-court-scotland' : "**Court order to defer dissolution in a winding-up by the court**"
|
59
|
+
'liquidation-compulsory-staying-or-sisting-proceedings-scotland' : "**Court order staying or sisting proceedings in a winding-up by the court**"
|
50
60
|
'liquidation-in-administration-appointment-of-administrator' : "**Appointment of an administrator**"
|
51
61
|
'liquidation-in-administration-appointment-of-a-replacement-or-additional-administrator' : "**Notice of appointment** of a replacement or additional administrator"
|
62
|
+
'liquidation-in-administration-appointment-of-a-replacement-or-additional-administrator-scotland' : "**Appointment of replacement or additional administrator**"
|
52
63
|
'liquidation-in-administration-order-limiting-disclosure-of-statement-of-affairs-or-proposals' : "**Notice of order limiting disclosure** of statement of affairs or proposals"
|
64
|
+
'liquidation-in-administration-order-limiting-disclosure-of-statement-of-affairs-or-proposals-scotland' : "**Order limiting disclosure of statement of affairs or proposals in administration**"
|
53
65
|
'liquidation-in-administration-rescission-or-amendment-of-order-limiting-disclosure-of-statement-of-affairs-or-proposals' : "**Notice of rescission or amendment of order limiting disclosure** of statement of affairs or proposals in administration"
|
66
|
+
'liquidation-in-administration-rescission-or-amendment-of-order-limiting-disclosure-of-statement-of-affairs-or-proposals-scotland' : "**Discharge or variation of order limiting disclosure of statement of affairs or proposals in administration**"
|
54
67
|
'liquidation-in-administration-statement-of-affairs-with-form-attached' : "**Statement of affairs** with form {form_attached}"
|
68
|
+
'liquidation-in-administration-statement-of-affairs-with-form-attached-scotland' : "**Statement of affairs** {form_attached}"
|
55
69
|
'liquidation-in-administration-statement-of-affairs' : "**Statement of affairs**"
|
70
|
+
'liquidation-in-administration-statement-of-affairs-scotland' : "**Statement of affairs**"
|
56
71
|
'liquidation-in-administration-proposals' : "**Statement of administrator's proposal**"
|
57
72
|
'liquidation-in-administration-extension-of-time' : "**Notice of extension of time period** of the administration"
|
73
|
+
'liquidation-in-administration-extension-of-time-deliver-scotland' : "Notice of **Extension of time to deliver administrator’s proposals**"
|
74
|
+
'liquidation-in-administration-extension-of-time-approval-scotland' : "Notice of **Extension of time to seek approval of administrator's proposals**"
|
58
75
|
'liquidation-in-administration-revised-proposals' : "**Statement of administrator's revised proposal**"
|
59
76
|
'liquidation-in-administration-result-creditors-meeting' : "**Result of meeting of creditors**"
|
77
|
+
'liquidation-in-administration-revision-administrators-proposals-scotland' : "**Revision of administrator’s proposals**"
|
78
|
+
'liquidation-in-administration-result-creditors-decision-scotland' : "**Creditors’ decision on administrator’s proposals**"
|
60
79
|
'liquidation-in-administration-progress-report-with-brought-down-date' : "**Administrator's progress report** to {brought_down_date}"
|
61
80
|
'liquidation-in-administration-progress-report' : "**Administrator's progress report**"
|
62
81
|
'liquidation-in-administration-amended-certificate-of-constitution-creditors-committee' : "**Amended certificate of constitution** of creditors' committee"
|
63
82
|
'liquidation-in-administration-change-in-committee-membership' : "**Administrator's notice** of a change in committee membership"
|
64
83
|
'liquidation-in-administration-notice-of-order-deal-with-charged-property' : "**Notice of order to deal with charged property**"
|
84
|
+
'liquidation-in-administration-notice-of-order-deal-with-charged-property-scotland' : "**Order to deal with charged property**"
|
65
85
|
'liquidation-in-administration-automatic-end-of-case' : "**Notice of automatic end of Administration**"
|
86
|
+
'liquidation-in-administration-automatic-end-of-case-scotland' : "**Automatic end of Administration**"
|
66
87
|
'liquidation-in-administration-extension-of-period' : "**Notice of extension of period** of Administration"
|
67
88
|
'liquidation-in-administration-end-of-administration' : "**Notice of end of Administration**"
|
68
89
|
'liquidation-in-administration-court-order-ending-administration' : "**Notice of a court order ending Administration**"
|
@@ -70,18 +91,24 @@ description:
|
|
70
91
|
'liquidation-in-administration-move-to-dissolution-with-case-end-date' : "**Notice of move from Administration to Dissolution** on {case_end_date}"
|
71
92
|
'liquidation-in-administration-move-to-dissolution' : "**Notice of move from Administration to Dissolution**"
|
72
93
|
'liquidation-in-administration-change-date-of-dissolution' : "**Notice to Registrar** in respect of date of dissolution"
|
94
|
+
'liquidation-in-administration-change-date-of-dissolution-scotland' : "**Notice of court order in respect of date of dissolution**"
|
73
95
|
'liquidation-in-administration-resignation-of-administrator' : "**Notice of resignation of an administrator**"
|
74
96
|
'liquidation-in-administration-vacation-of-office' : "**Notice of vacation of office by administrator**"
|
75
97
|
'liquidation-in-administration-removal-of-administrator-from-office' : "**Notice of order removing administrator** from office"
|
98
|
+
'liquidation-in-administration-removal-of-administrator-from-office-scotland' : "**Order removing administrator from office**"
|
76
99
|
'liquidation-in-administration-administrator-ceasing-to-be-qualified-to-act' : "**Notice of administrator ceasing to be qualified** to act"
|
100
|
+
'liquidation-in-administration-administrator-ceasing-to-be-qualified-to-act-scotland' : "**Notice of vacation of office when administrator ceases to be qualified to act**"
|
77
101
|
'liquidation-in-administration-administrator-deceased' : "**Notice of administrator's death**"
|
102
|
+
'liquidation-in-administration-administrator-deceased-scotland' : "**Notice of deceased administrator**"
|
78
103
|
'liquidation-in-administration-appointment-of-replacement-additional-administrator' : "**Notice of appointment** of replacement/additional administrator"
|
79
104
|
'liquidation-in-administration-appointment-of-replacement-additional-adminstrator' : "**Notice of appointment** of replacement/additional administrator" # To be deprecated in October 2017. Use liquidation-in-administration-appointment-of-replacement-additional-administrator
|
80
105
|
'liquidation-in-administration-appointment-of-administrator-scotland' : "**Appointment of an administrator**"
|
81
106
|
'liquidation-in-administration-notice-of-statement-of-affairs-scotland-with-form-attached' : "**Statement of affairs** with form {form_attached}"
|
82
107
|
'liquidation-in-administration-notice-of-statement-of-affairs-scotland' : "**Statement of affairs**"
|
83
108
|
'liquidation-in-administration-proposals-scotland' : "**Statement of administrator's proposal**"
|
109
|
+
'liquidation-in-administration-notice-administrators-proposals-scotland' : "Notice of **Administrator's proposal**"
|
84
110
|
'liquidation-in-administration-revised-proposals-scotland' : "**Statement of administrator's revised proposal**"
|
111
|
+
'liquidation-in-administration-creditor-decision-revised-proposals-scotland' : "**Result of creditors’ decision on revised administrator’s proposals**"
|
85
112
|
'liquidation-in-administration-deemed-proposal-scotland': "**Statement of administrator's deemed proposal**"
|
86
113
|
'liquidation-in-administration-result-of-creditors-meeting-scotland' : "**Notice of result of meeting of creditors**"
|
87
114
|
'liquidation-in-administration-progress-report-scotland-with-brought-down-date' : "**Administrator's progress report** to {brought_down_date}"
|
@@ -90,17 +117,24 @@ description:
|
|
90
117
|
'liquidation-in-administration-automatic-end-scotland' : "**Notice of automatic end** of Administration"
|
91
118
|
'liquidation-in-administration-extension-of-period-scotland' : "**Notice of extension of period of Administration**"
|
92
119
|
'liquidation-in-administration-end-of-administration-scotland' : "**Notice of end of Administration**"
|
120
|
+
'liquidation-in-administration-end-of-administration-scotland-2' : "**End of Administration**"
|
93
121
|
'liquidation-in-administration-court-order-ending-administration-scotland' : "**Notice of court order ending Administration**"
|
122
|
+
'liquidation-in-administration-court-order-ending-administration-scotland-2' : "**Notice of a court order ending Administration**"
|
94
123
|
'liquidation-in-administration-move-to-creditors-voluntary-liquidation-scotland' : "**Notice of move from Administration to Creditors Voluntary Liquidation**"
|
124
|
+
'liquidation-in-administration-move-to-creditors-voluntary-liquidation-scotland-2' : "**Move from Administration case to Creditor's Voluntary Liquidation**"
|
95
125
|
'liquidation-in-administration-move-to-dissolution-scotland' : "**Notice of move from Administration to Dissolution**"
|
126
|
+
'liquidation-in-administration-move-to-dissolution-scotland-2' : "**Move from Administration to Dissolution**"
|
96
127
|
'liquidation-in-administration-date-of-dissolution-scotland' : "**Notice to Registrar** in respect of date of dissolution"
|
97
128
|
'liquidation-in-administration-resignation-of-administrator-scotland' : "**Notice of resignation of administrator**"
|
129
|
+
'liquidation-in-administration-resignation-of-administrator-scotland-2' : "**Resignation of an administrator**"
|
98
130
|
'liquidation-in-administration-vacation-of-office-scotland' : "**Notice of vacation of office by administrator**"
|
99
131
|
'liquidation-in-administration-appointment-of-replacement-additional-administrator-scotland' : "**Notice of appointment** of replacement/additional administrator"
|
100
132
|
'liquidation-in-administration-court-order-under-section-176A' : "**Notice to Registrar** of companies in respect of order under section 176A"
|
101
133
|
'liquidation-receiver-appointment-of-receiver-scotland' : "**Notice of the appointment of receiver** by a holder of a floating charge"
|
134
|
+
'liquidation-receiver-appointment-of-receiver-scotland-2' : "**Appointment of Administrative Receiver, Receiver or Manager**"
|
102
135
|
'liquidation-voluntary-arrangement-meeting-approving-creditors-voluntary-arrangement-scotland' : "**Notice of report of meeting approving voluntary arrangement**"
|
103
136
|
'liquidation-voluntary-arrangement-revocation-or-suspension-of-voluntary-arrangement-scotland' : "**Notice of order of revocation or suspension of voluntary arrangement**"
|
137
|
+
'liquidation-voluntary-arrangement-revocation-or-suspension-of-voluntary-arrangement-scotland-2' : "**Revocation or suspension of CVA**"
|
104
138
|
'liquidation-voluntary-supervisors-abstracts-of-receipts-payments-scotland-with-brought-down-date' : "**Notice of voluntary arrangement** supervisor's abstract of receipts and payments to {brought_down_date}"
|
105
139
|
'liquidation-voluntary-supervisors-abstracts-of-receipts-payments-scotland' : "**Notice of voluntary arrangement** supervisor's abstract of receipts and payments"
|
106
140
|
'liquidation-voluntary-arrangement-notice-completion-scotland' : "**Notice of completion of voluntary arrangement**"
|
@@ -119,6 +153,7 @@ description:
|
|
119
153
|
'liquidation-receiver-receivers-report-scotland' : "**Notice of receiver's report**"
|
120
154
|
'liquidation-receiver-receivers-abstracts-of-receipts-and-payments-scotland' : "**Receiver/Manager's abstract of receipts and payments**"
|
121
155
|
'liquidation-receiver-death-of-receiver-scotland' : "**Death of receiver**"
|
156
|
+
'liquidation-receiver-death-of-receiver-scotland-2' : "**Deceased Administrative Receiver**"
|
122
157
|
'liquidation-voluntary-removal-of-receiver-scotland' : "**Certificate of removal of liquidator**"
|
123
158
|
'liquidation-voluntary-removal-of-liquidator-scotland' : "**Notice of removal of liquidator**"
|
124
159
|
'liquidation-voluntary-release-of-liquidator-scotland' : "**Certificate of release of liquidator** by accountant of court"
|
@@ -140,13 +175,14 @@ description:
|
|
140
175
|
'liquidation-voluntary-liquidators-statement-of-receipts-payments-scotland' : "**Statement of receipts and payments**"
|
141
176
|
'liquidation-voluntary-appointment-of-liquidator' : "**Appointment of a voluntary liquidator**"
|
142
177
|
'liquidation-voluntary-arrangement-meeting-approving-companies-voluntary-arrangement' : "**Notice to Registrar of companies voluntary arrangement** taking effect"
|
143
|
-
'liquidation-voluntary-arrangement-meeting-approving-companies-voluntary-
|
178
|
+
'liquidation-voluntary-arrangement-meeting-approving-companies-voluntary-arrangement-scotland' : "**Voluntary arrangement taking effect**"
|
144
179
|
'liquidation-voluntary-arrangement-revocation-or-suspension' : "**Order of revocation or suspension of voluntary arrangement**"
|
145
180
|
'liquidation-cva-supervisors-abstract-of-receipts-payments-with-brought-down-date' : "**Voluntary arrangement supervisor's abstract of receipts and payments** to {brought_down_date}"
|
146
|
-
'liquidation-cva-supervisors-abstracts-of-receipts-payments-with-brought-down-date' : "**Voluntary arrangement supervisor's abstract of receipts and payments** to {brought_down_date}" # To be deprecated in October 2017. Use liquidation-cva-supervisors-abstract-of-receipts-payments-with-brought-down-date
|
147
181
|
'liquidation-cva-supervisors-abstracts-of-receipts-payments' : "**Voluntary arrangement supervisor's abstract of receipts and payments**"
|
182
|
+
'liquidation-voluntary-arrangement-supervisors-progress-report-scotland' : "**Supervisor’s progress report in CVA**"
|
148
183
|
'liquidation-voluntary-arrangement-completion-with-date' : "**Notice of completion of voluntary arrangement** on {case_end_date}"
|
149
184
|
'liquidation-voluntary-arrangement-completion' : "**Notice of completion of voluntary arrangement**"
|
185
|
+
'liquidation-voluntary-arrangement-completion-scotland' : "**Termination or full implementation of CVA**"
|
150
186
|
'liquidation-administration-notice-of-administration-order' : "**Notice of Administration Order**"
|
151
187
|
'liquidation-administration-order' : "**Administration Order**"
|
152
188
|
'liquidation-administration-administrators-abstracts-of-receipts-and-payments-with-brought-down-date' : "**Administrator's abstract of receipts and payments** to {brought_down_date}"
|
@@ -160,17 +196,15 @@ description:
|
|
160
196
|
'liquidation-receiver-amended-certificate-of-constitution' : "**Amended certificate of constitution of creditors' committee**"
|
161
197
|
'liquidation-receiver-report-change-of-committee' : "**Administrator's report of a change in committee membership**"
|
162
198
|
'liquidation-receiver-abstract-of-receipts-and-payments-with-brought-down-date' : "**Receiver's abstract of receipts and payments** to {brought_down_date}"
|
163
|
-
'liquidation-receiver-abstracts-of-receipts-and-payments-with-brought-down-date' : "**Receiver's abstract of receipts and payments** to {brought_down_date}" # To be deprecated in October 2017. Use liquidation-receiver-abstract-of-receipts-and-payments-with-brought-down-date
|
164
199
|
'liquidation-receiver-abstract-of-receipts-and-payments' : "**Receiver's abstract of receipts and payments**"
|
165
|
-
'liquidation-receiver-abstracts-of-receipts-and-payments' : "**Receiver's abstract of receipts and payments**" # To be deprecated in October 2017. Use liquidation-receiver-abstract-of-receipts-and-payments
|
166
200
|
'liquidation-receiver-death-of-receiver' : "**Notice of adminstrative receivers' death**"
|
167
201
|
'liquidation-receiver-order-to-dispose-of-charged-property' : "**Notice of order to dispose of charged property**"
|
202
|
+
'liquidation-receiver-order-to-dispose-of-charged-property-scotland' : "**Authorisation to dispose of secured property**"
|
168
203
|
'liquidation-administration-approval-of-proposals-scotland' : "**Notice of deemed approval of proposals**"
|
169
204
|
'liquidation-voluntary-determination' : "**Determination**"
|
170
205
|
'liquidation-administration-notice-of-petition-scotland' : "**Notice of Petition for Administration Order**"
|
171
206
|
'liquidation-insolvency-judgement-overseas' : "**Insolvency judgement**"
|
172
207
|
'liquidation-voluntary-arrangement-commencement-of-moratorium' : "**Commencement of moratorium**"
|
173
|
-
'liquidation-voluntary-arragenment-commencement-of-moratorium' : "**Commencement of moratorium**" # To be deprecated in October 2017. Use liquidation-voluntary-arrangement-commencement-of-moratorium
|
174
208
|
'liquidation-voluntary-arrangement-extension-of-moratorium' : "**Extension or further extension of moratorium**"
|
175
209
|
'liquidation-voluntary-arrangement-ending-of-moratorium' : "**End of moratorium**"
|
176
210
|
'liquidation-voluntary-arrangement-withdrawal-of-consent' : "**Withdrawal of nominee's consent to act**"
|
@@ -181,8 +215,12 @@ description:
|
|
181
215
|
'liquidation-voluntary-arrangement-withdrawal-of-consent-scotland' : "**Withdrawal of nominee's consent to act**"
|
182
216
|
'liquidation-voluntary-arrangement-replacement-nominee-scotland' : "**Appointment of replacement nominee**"
|
183
217
|
'liquidation-voluntary-arrangement-decision-to-extend-moratorium' : "**Decision to extend moratorium**"
|
218
|
+
'liquidation-voluntary-arrangement-continuation-of-moratorium-scotland' : "**Continuation of moratorium**"
|
184
219
|
'liquidation-voluntary-arrangement-court-order-to-extend-moratorium' : "**Court order to extend moratorium**"
|
220
|
+
'liquidation-voluntary-arrangement-court-order-to-extend-moratorium-scotland' : "**Court order to extend moratorium**"
|
185
221
|
'liquidation-voluntary-arrangement-or-moratorium-court-order' : "**Court order in respect of a voluntary arrangement or moratorium**"
|
222
|
+
'liquidation-voluntary-arrangement-or-moratorium-court-order-scotland' : "**Court order in respect of a voluntary arrangement**"
|
223
|
+
'liquidation-voluntary-arrangement-disposal-of-charged-property-moratorium-scotland' : "**Disposal of charged property during a moratorium**"
|
186
224
|
'liquidation-administration-statement-of-affairs-scotland' : "**Statement of affairs**"
|
187
225
|
'liquidation-administration-statement-of-concurrence-scotland' : "**Statement of concurrence**"
|
188
226
|
'liquidation-miscellaneous' : "**Insolvency filing**"
|
@@ -195,6 +233,7 @@ description:
|
|
195
233
|
'liquidation-court-order-recall-provisional-liquidator' : "**Order of court recall of provisional liquidator**"
|
196
234
|
'liquidation-court-order-limiting-disclosure' : "**Order of court limiting disclosure**"
|
197
235
|
'liquidation-appointment-of-provisional-liquidator' : "**Appointment of provisional liquidator**"
|
236
|
+
'liquidation-appointment-of-provisional-liquidator-court-scotland' : "**Appointment of provisional liquidator in a winding-up by the court (& Court Order attachment)**"
|
198
237
|
'liquidation-court-order-early-dissolution' : "**Order of court for early dissolution**"
|
199
238
|
'liquidation-court-order-to-rescind-winding-up' : "**Order of court to rescind winding up**"
|
200
239
|
'liquidation-voluntary-extraordinary-resolution-to-wind-up-with-case-start-date' : "**Extraordinary resolution to wind up** on {case_start_date}"
|
@@ -221,15 +260,18 @@ description:
|
|
221
260
|
'liquidation-voluntary-notice-revised-account' : "**Notice of revised account**"
|
222
261
|
'liquidation-compulsory-statement-of-affairs' : "**Statement of affairs**"
|
223
262
|
'liquidation-termination-of-provisional-liquidator' : "**Notice of termination** of appointment of provisional liquidator"
|
263
|
+
'liquidation-termination-of-provisional-liquidator-court-scotland' : "**Termination of appointment of provisional liquidator in a winding-up by the court**"
|
224
264
|
'liquidation-voluntary-resignation-as-liquidator' : "**Notice of resignation** of liquidator"
|
225
265
|
'liquidation-voluntary-removal-of-liquidator' : "**Removal of liquidator**"
|
226
266
|
'liquidation-administration-notice-deemed-approval-of-proposals' : "**Notice of deemed approval of proposals**"
|
267
|
+
'liquidation-in-administration-notice-deemed-approval-of-proposals-scotland' : "**Approval of administrator’s proposals**"
|
227
268
|
'liquidation-early-completion-of-winding-up-northern-ireland' : "**Early completion of winding up**"
|
228
269
|
'liquidation-defer-dissolution-dissolution' : "**Deferment of compulsory dissolution**"
|
229
270
|
'liquidation-appointment-of-liquidator' : "**Appointment of a liquidator**"
|
230
271
|
'liquidation-appointment-of-liquidator-limited-liability-partnership' : "**Appointment of a liquidator**"
|
231
272
|
'liquidation-receiver-appointment-of-receiver' : "**Appointment of receiver or manager**"
|
232
273
|
'liquidation-receiver-cease-to-act-receiver' : "**Notice of ceasing to act as receiver or manager**"
|
274
|
+
'liquidation-receiver-cease-to-act-receiver-scotland' : "**Cease to act as Administrative Receiver, Receiver or Manager**"
|
233
275
|
'liquidation-receiver-appointment-of-receiver-limited-liability-partnership' : "**Appointment of receiver or manager**"
|
234
276
|
'liquidation-receiver-cease-to-act-receiver-limited-liability-partnership' : "**Notice of ceasing to act as receiver or manager**"
|
235
277
|
'liquidation-administration-court-order-limited-disclosure' : "**Order of court** for limited disclosure of proposals"
|
@@ -303,7 +345,9 @@ description:
|
|
303
345
|
'liquidation-all-statement-of-concurrence' : "**Statement of concurrence**"
|
304
346
|
'liquidation-in-adminstration-deemed-proposal-scotland' : "**Statement of adminstrator's deemed proposal**"
|
305
347
|
'liquidation-establishment-of-creditors-or-liquidation-committee' : "**Establishment of creditors or liquidation committee**"
|
348
|
+
'liquidation-establishment-of-creditors-or-liquidation-committee-scotland' : "**Establishment of creditors' committee (Administration)**"
|
306
349
|
'liquidation-change-of-membership-of-creditors-or-liquidation-committee' : "**Change of membership of creditors or liquidation committee**"
|
350
|
+
'liquidation-change-of-membership-of-creditors-or-liquidation-committee-scotland' : "**Change of membership of creditors' committee (Administration)**"
|
307
351
|
'liquidation-continuation-of-creditors-committee' : "**Continuation of creditors committee**"
|
308
352
|
'liquidation-cessation-of-committee' : "**Cessation of liquidation committee**"
|
309
353
|
'liquidation-proceedings-member-state-with-consent-to-dissolution' : "**Statement of insolvency proceedings in another member state with consent to dissolution of the company**"
|
@@ -673,7 +717,7 @@ description:
|
|
673
717
|
'change-person-director-company-with-change-date' : "**Director's details changed** for {officer_name} on {change_date}"
|
674
718
|
'change-person-director-company' : "**Director's details changed**"
|
675
719
|
'change-person-secretary-company-with-change-date' : "**Secretary's details changed** for {officer_name} on {change_date}"
|
676
|
-
'change-person-secretary-company' : "**Secretary's details changed**
|
720
|
+
'change-person-secretary-company' : "**Secretary's details changed**"
|
677
721
|
'change-corporate-director-company-with-change-date' : "**Director's details changed** for {officer_name} on {change_date}"
|
678
722
|
'change-corporate-director-company' : "**Director's details changed**"
|
679
723
|
'change-corporate-secretary-company-with-change-date' : "**Secretary's details changed** for {officer_name} on {change_date}"
|
@@ -783,21 +827,21 @@ description:
|
|
783
827
|
'registration-company-as-social-landlord' : "**Registration** of a company as a social landlord"
|
784
828
|
'formation-european-economic-interest-groups-official-address-inside-uk-with-date' : "**Formation** of European Economic Interest Group on {incorporation_date} whose official address is in the UK"
|
785
829
|
'formation-european-economic-interest-groups-official-address-inside-uk' : "**Formation** of European Economic Interest Group whose official address is in the UK"
|
786
|
-
'formation-european-economic-interest-groups-official-address-outside-uk' : "**Formation** of
|
830
|
+
'formation-european-economic-interest-groups-official-address-outside-uk' : "**Formation** of Economic Interest Group on {incorporation_date} whose official address is outside of the UK"
|
787
831
|
'formation-by-merger-of-societas-europaea' : "**Formation** by merger of Societas Europaea to be registered in the UK"
|
788
832
|
'formation-of-holding-societas-europaea' : "**Formation** of holding Societas Europaea"
|
789
833
|
'formation-of-subsidiary-societas-europaea-article2' : "**Formation** of subsidiary Societas Europaea"
|
790
834
|
'formation-of-subsidiary-societas-europaea-article3' : "**Formation** of subsidiary Societas Europaea"
|
791
835
|
'formation-terms-holding-societas-europaea' : "**Draft terms of formation**"
|
792
836
|
'formation-terms-conversion-public-limited-company-to-societas-europaea' : "**Draft terms of conversion** of Public Limited Company to Societas Europaea"
|
793
|
-
'formation-terms-conversion-societas-europaea-to-public-limited-company' : "**Draft terms of conversion**
|
837
|
+
'formation-terms-conversion-societas-europaea-to-public-limited-company' : "**Draft terms of conversion** to Public Limited Company"
|
794
838
|
'transformation-public-limited-company-to-societas-europaea' : "**Closure of Public Limited Company and transformed to Societas Europaea**"
|
795
839
|
'proposed-transfer-societas-europaea-from-uk' : "**Proposed transfer of Societas Europaea from United Kingdom**"
|
796
840
|
'proposed-transfer-societas-europaea-to-uk' : "**Proposed transfer of Societas Europaea from United Kingdom**" #This will be removed in April 2017; use process-transfer-societas-europea-from-uk
|
797
841
|
'transfer-societas-europaea-to-uk' : "**Transfer of Societas Europaea to United Kingdom**"
|
798
842
|
'transfer-societas-europaea-from-uk' : "**Transfer of Societas Europaea from United Kingdom**"
|
799
843
|
'statement-solvency-by-members-societas-euopaea-proposing-to-transfer-from-uk' : "**Statement of solvency** by members of Societas Europaea which is proposing to transfer from the United Kingdom"
|
800
|
-
'conversion-societas-europaea-to-public-limited-company' : "**Conversion
|
844
|
+
'conversion-societas-europaea-to-public-limited-company' : "**Conversion to Public Limited Company**"
|
801
845
|
'notice-satisfaction-of-conditions-formation-of-societas-europaea' : "**Notice of satisfaction** of conditions for the formation of holding Societas Europaea by a UK registered company"
|
802
846
|
'notice-from-overseas-registry-transfer-from-uk' : "**Transfer of an overseas company from UK**"
|
803
847
|
'application-to-commence-business' : "**Application to commence business**"
|
@@ -930,14 +974,17 @@ description:
|
|
930
974
|
'notification-of-a-person-with-significant-control' : "**Notification** of {psc_name} as a person with significant control on {notification_date}"
|
931
975
|
'notification-of-a-super-secure-person-with-significant-control' : "**Notification** of a protected person with significant control"
|
932
976
|
'change-to-a-person-with-significant-control' : "**Change** of details for {psc_name} as a person with significant control on {change_date}"
|
977
|
+
'change-to-a-person-with-significant-control-without-name-date' : "**Change** of details for a person with significant control"
|
933
978
|
'cessation-of-a-person-with-significant-control' : "**Cessation** of {psc_name} as a person with significant control on {cessation_date}"
|
934
979
|
'cessation-of-a-super-secure-person-with-significant-control' : "**Cessation** of a protected person with significant control"
|
980
|
+
'cessation-of-a-person-with-significant-control-without-name-date' : "**Cessation** of a person with significant control"
|
935
981
|
'notification-of-a-person-with-significant-control-statement' : "**Notification** of a person with significant control statement"
|
936
982
|
'withdrawal-of-a-person-with-significant-control-statement' : "**Withdrawal** of a person with significant control statement on {withdrawal_date}"
|
937
983
|
'notification-of-a-person-with-significant-control-limited-liability-partnership' : "**Notification** of {psc_name} as a person with significant control on {notification_date}"
|
938
984
|
'notification-of-a-person-with-significant-control-scottish-limited-partnership' : "**Notification** of {psc_name} as a person with significant control on {notification_date}"
|
939
985
|
'notification-of-a-person-with-significant-control-scottish-partnership' : "**Notification** of {psc_name} as a person with significant control on {notification_date}"
|
940
986
|
'notification-of-a-super-secure-person-with-significant-control-limited-liability-partnership' : "**Notification** of a protected person with significant control"
|
987
|
+
'notification-of-a-person-with-significant-control-without-name-date' : "**Notification** of a person with significant control"
|
941
988
|
'change-to-a-person-with-significant-control-limited-liability-partnership' : "**Change** of details for {psc_name} as a person with significant control on {change_date}"
|
942
989
|
'change-to-a-person-with-significant-control-scottish-limited-partnership' : "**Change** of details for {psc_name} as a person with significant control on {change_date}"
|
943
990
|
'change-to-a-person-with-significant-control-scottish-partnership' : "**Change** of details for {psc_name} as a person with significant control on {change_date}"
|
@@ -951,22 +998,22 @@ description:
|
|
951
998
|
'withdrawal-of-a-person-with-significant-control-statement-limited-liability-partnership' : "**Withdrawal** of a person with significant control statement on {withdrawal_date}"
|
952
999
|
'withdrawal-of-a-person-with-significant-control-statement-scottish-limited-partnership' : "**Withdrawal** of a person with significant control statement on {withdrawal_date}"
|
953
1000
|
'withdrawal-of-a-person-with-significant-control-statement-scottish-partnership' : "**Withdrawal** of a person with significant control statement on {withdrawal_date}"
|
954
|
-
'elect-to-keep-the-directors-register-information-on-the-public-register' : "**Elect**
|
955
|
-
'elect-to-keep-the-directors-residential-address-register-information-on-the-public-register' : "**Elect**
|
956
|
-
'elect-to-keep-the-secretaries-register-information-on-the-public-register' : "**Elect**
|
957
|
-
'elect-to-keep-the-persons-with-significant-control-register-information-on-the-public-register' : "**Elect**
|
958
|
-
'elect-to-keep-the-members-register-information-on-the-public-register' : "**Elect**
|
1001
|
+
'elect-to-keep-the-directors-register-information-on-the-public-register' : "**Elect** to keep the directors' register information on the public register"
|
1002
|
+
'elect-to-keep-the-directors-residential-address-register-information-on-the-public-register' : "**Elect** to keep the directors' residential address register information on the public register"
|
1003
|
+
'elect-to-keep-the-secretaries-register-information-on-the-public-register' : "**Elect** to keep the secretaries register information on the public register"
|
1004
|
+
'elect-to-keep-the-persons-with-significant-control-register-information-on-the-public-register' : "**Elect** to keep the persons' with significant control register information on the public register"
|
1005
|
+
'elect-to-keep-the-members-register-information-on-the-public-register' : "**Elect** to keep the members' register information on the public register"
|
959
1006
|
'update-to-the-members-register-information-on-the-public-register' : "**Update** to the members' register information on the public register"
|
960
|
-
'withdrawal-of-the-directors-register-information-from-the-public-register' : "**Withdrawal**
|
961
|
-
'withdrawal-of-the-directors-residential-address-register-information-from-the-public-register' : "**Withdrawal**
|
962
|
-
'withdrawal-of-the-secretaries-register-information-from-the-public-register' : "**Withdrawal**
|
963
|
-
'withdrawal-of-the-persons-with-significant-control-register-information-from-the-public-register' : "**Withdrawal**
|
964
|
-
'withdrawal-of-the-members-register-information-from-the-public-register' : "**Withdrawal**
|
965
|
-
'elect-to-keep-the-limited-liability-partnership-members-register-information-on-the-public-register' : "**Elect**
|
966
|
-
'elect-to-keep-the-limited-liability-partnership-members-residential-address-register-information-on-the-public-register' : "**Elect**
|
967
|
-
'elect-to-keep-the-limited-liability-partnership-persons-with-significant-control-register-information-on-the-public-register' : "**Elect**
|
968
|
-
'withdrawal-of-the-limited-liability-partnership-members-register-information-from-the-public-register' : "**Withdrawal**
|
969
|
-
'withdrawal-of-the-limited-liability-partnership-members-residential-address-register-information-from-the-public-register' : "**Withdrawal**
|
1007
|
+
'withdrawal-of-the-directors-register-information-from-the-public-register' : "**Withdrawal** of the directors' register information from the public register"
|
1008
|
+
'withdrawal-of-the-directors-residential-address-register-information-from-the-public-register' : "**Withdrawal** of the directors' residential address register information from the public register"
|
1009
|
+
'withdrawal-of-the-secretaries-register-information-from-the-public-register' : "**Withdrawal** of the secretaries register information from the public register"
|
1010
|
+
'withdrawal-of-the-persons-with-significant-control-register-information-from-the-public-register' : "**Withdrawal** of the persons' with significant control register information from the public register"
|
1011
|
+
'withdrawal-of-the-members-register-information-from-the-public-register' : "**Withdrawal** of the members' register information from the public register"
|
1012
|
+
'elect-to-keep-the-limited-liability-partnership-members-register-information-on-the-public-register' : "**Elect** to keep the members' register information on the public register"
|
1013
|
+
'elect-to-keep-the-limited-liability-partnership-members-residential-address-register-information-on-the-public-register' : "**Elect** to keep the members' residential address register information on the public register"
|
1014
|
+
'elect-to-keep-the-limited-liability-partnership-persons-with-significant-control-register-information-on-the-public-register' : "**Elect** to keep the persons' with significant control register information on the public register"
|
1015
|
+
'withdrawal-of-the-limited-liability-partnership-members-register-information-from-the-public-register' : "**Withdrawal** of the members' register information from the public register"
|
1016
|
+
'withdrawal-of-the-limited-liability-partnership-members-residential-address-register-information-from-the-public-register' : "**Withdrawal** of the members' residential address register information from the public register"
|
970
1017
|
'withdrawal-of-the-limited-liability-partnership-persons-with-significant-control-register-information-from-the-public-register' : "**Withdrawal** of the persons' with significant control register information from the public register"
|
971
1018
|
'second-filing-of-director-appointment-with-name' : "**Second filing** for the appointment of {officer_name} as a director"
|
972
1019
|
'second-filing-of-secretary-appointment-with-name' : "**Second filing** for the appointment of {officer_name} as a secretary"
|
@@ -978,10 +1025,12 @@ description:
|
|
978
1025
|
'second-filing-of-member-appointment-with-name' : "**Second filing** for the appointment of {officer_name} as a member"
|
979
1026
|
'second-filing-of-change-of-member-details-with-name' : "**Second filing** to change the details of {officer_name} as a member"
|
980
1027
|
'second-filing-of-member-termination-with-name' : "**Second filing** for the termination of {officer_name} as a member"
|
981
|
-
'second-filing-of-annual-return-with-made-up-date' : "**Second filing** of the annual return made up to {made_up_date}"
|
982
1028
|
'second-filing-notification-of-a-person-with-significant-control' : "**Second filing** for the notification of {psc_name} as a person with significant control"
|
1029
|
+
'second-filing-notification-of-a-person-with-significant-control-without-name-date' : "**Second filing** for the notification of a person with significant control"
|
983
1030
|
'second-filing-change-details-of-a-person-with-significant-control' : "**Second filing** to change the details of {psc_name} as a person with significant control"
|
1031
|
+
'second-filing-change-to-a-person-with-significant-control-without-name-date' : "**Second filing** to change the details for a person with significant control"
|
984
1032
|
'second-filing-cessation-of-a-person-with-significant-control' : "**Second filing** for the cessation of {psc_name} as a person with significant control"
|
1033
|
+
'second-filing-cessation-of-a-person-with-significant-control-without-name-date' : "**Second filing** for the cessation of a person with significant control"
|
985
1034
|
'second-filing-notification-of-a-person-with-significant-control-statement' : "**Second filing** for the notification of a person with significant control statement"
|
986
1035
|
'second-filing-withdrawal-of-a-person-with-significant-control-statement' : "**Second filing** for the withdrawal of a person with significant control statement"
|
987
1036
|
'second-filing-notification-of-a-person-with-significant-control-limited-liability-partnership' : "**Second filing** for the notification of {psc_name} as a person with significant control"
|
@@ -1025,9 +1074,11 @@ description:
|
|
1025
1074
|
'limited-liability-partnership-members-register-information-on-withdrawal-from-the-public-register' : "**Members' register** information at {date} on withdrawal from the public register"
|
1026
1075
|
'limited-liability-partnership-members-usual-residential-address-register-information-on-withdrawal-from-the-public-register' : "**Members' usual residential address register** information at {date} on withdrawal from the public register"
|
1027
1076
|
'limited-liability-partnership-persons-with-significant-control-register-information-on-withdrawal-from-the-public-register' : "**Persons' with significant control register** information at {date} on withdrawal from the public register"
|
1028
|
-
'confirmation-statement' : "**Confirmation statement** made on {made_up_date}"
|
1029
1077
|
'confirmation-statement-with-no-updates' : "**Confirmation statement** made on {made_up_date} with no updates"
|
1030
1078
|
'confirmation-statement-with-updates' : "**Confirmation statement** made on {made_up_date} with updates"
|
1079
|
+
'confirmation-statement-with-made-up-date' : "**Confirmation statement** made on {made_up_date}"
|
1080
|
+
'confirmation-statement' : "{original_description}"
|
1081
|
+
'second-filing-of-confirmation-statement-with-made-up-date' : "**Second filing** of Confirmation Statement dated {made_up_date}"
|
1031
1082
|
'gazette-dissolved-statutory-instrument' : "**Final Gazette** dissolved by statutory instrument"
|
1032
1083
|
'gazette-dissolved-liquidation' : "**Final Gazette** dissolved following liquidation"
|
1033
1084
|
'registration-and-designation-as-a-private-fund-limited-partnership' : "**Registration and designation** as a Private Fund Limited Partnership"
|
@@ -1038,3 +1089,18 @@ description:
|
|
1038
1089
|
'registration-of-a-scottish-partnership' : "**Registration** of a Scottish Partnership"
|
1039
1090
|
'notice-of-ceasing-to-be-a-qualifying-partnership' : "**Notice of ceasing** to be a qualifying partnership"
|
1040
1091
|
'appoint-corporate-manager-european-economic-interest-groupings' : "**Appointment** of corporate EEIG manager"
|
1092
|
+
'selection-of-documents-registered-before-January-1995' : "A selection of documents registered before 1 January 1995"
|
1093
|
+
'selection-of-mortgage-documents-registered-before-January-1995' : "A selection of mortgage documents registered before 1 January 1995"
|
1094
|
+
'selection-of-documents-registered-before-April-2014' : "A selection of documents registered before 5 April 2014"
|
1095
|
+
'notice-of-insolvency-proceedings-for-a-further-education-or-sixth-form-college-corporation' : "**Notice of insolvency proceedings** for a further education or sixth form college corporation"
|
1096
|
+
'order-of-court-restructuring-plan' : "**Restructuring plan**"
|
1097
|
+
'order-of-court-restructuring-plan-and-change-share-capital' : "**Restructuring Plan and change in share capital**"
|
1098
|
+
'liquidation-moratorium-commencement-of-moratorium' : "**Commencement of Moratorium**"
|
1099
|
+
'liquidation-moratorium-extension-of-moratorium' : "**Moratorium has been ended or extended**"
|
1100
|
+
'liquidation-moratorium-early-end-of-moratorium' : "**Early end of Moratorium**"
|
1101
|
+
'liquidation-moratorium-end-of-moratorium-by-monitor' : "**End of Moratorium by a Monitor**"
|
1102
|
+
'liquidation-moratorium-end-of-moratorium-by-court' : "**End of Moratorium by a Court**"
|
1103
|
+
'liquidation-moratorium-end-of-moratorium-following-disposal-of-application-for-extension-by-court-or-following-cva-proposal-taking-effect-or-being-withdrawn' : "**End of Moratorium following disposal of application for extension by the court or following CVA proposal taking effect or being withdrawn**"
|
1104
|
+
'liquidation-moratorium-court-order-permitting-disposal-of-goods' : "**Court order permitting disposal of property or goods**"
|
1105
|
+
'liquidation-moratorium-replacement-or-additonal-monitor-following-court-order' : "**Replacement or additional monitor (following court order)**"
|
1106
|
+
'liquidation-moratorium-monitor-ceasing-to-act-following-court-order' : "**Monitor ceasing to act following court**"
|
@@ -4,6 +4,7 @@ require 'companies_house_hub/base_model'
|
|
4
4
|
require 'companies_house_hub/models/address'
|
5
5
|
require 'companies_house_hub/models/filing_history'
|
6
6
|
require 'companies_house_hub/models/person'
|
7
|
+
require 'companies_house_hub/models/officer'
|
7
8
|
|
8
9
|
module CompaniesHouseHub
|
9
10
|
class Company < BaseModel
|
@@ -48,7 +49,7 @@ module CompaniesHouseHub
|
|
48
49
|
def initialize(json = {})
|
49
50
|
@raw_json = json
|
50
51
|
@number = json.dig(:company_number)
|
51
|
-
@has_been_liquidated = json.dig(:has_been_liquidated)
|
52
|
+
@has_been_liquidated = json.dig(:has_been_liquidated) || false
|
52
53
|
@jurisdiction = json.dig(:jurisdiction)
|
53
54
|
@name = json.dig(:company_name) || json.dig(:title)
|
54
55
|
@created_at = json.dig(:date_of_creation)
|
@@ -68,6 +69,10 @@ module CompaniesHouseHub
|
|
68
69
|
Person.all(company_number: @number)
|
69
70
|
end
|
70
71
|
|
72
|
+
def officers
|
73
|
+
Officer.all(company_number: @number)
|
74
|
+
end
|
75
|
+
|
71
76
|
def active?
|
72
77
|
@status == 'active'
|
73
78
|
end
|
@@ -5,7 +5,7 @@ module CompaniesHouseHub
|
|
5
5
|
FIND_PATH = "/company/:company_number/persons-with-significant-control"
|
6
6
|
DEFAULT_PER_PAGE = 90
|
7
7
|
|
8
|
-
attr_reader :name, :nationality, :
|
8
|
+
attr_reader :name, :nationality, :country_of_residence, :forename, :middle_name, :title
|
9
9
|
attr_reader :surname, :address, :raw_json
|
10
10
|
|
11
11
|
def self.all(options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: companies_house_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Otero
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -185,6 +185,7 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- ".DS_Store"
|
188
189
|
- ".gitignore"
|
189
190
|
- ".rspec"
|
190
191
|
- ".rubocop.yml"
|
@@ -210,7 +211,7 @@ homepage: https://github.com/rikas/companies_house_hub
|
|
210
211
|
licenses:
|
211
212
|
- MIT
|
212
213
|
metadata: {}
|
213
|
-
post_install_message:
|
214
|
+
post_install_message:
|
214
215
|
rdoc_options: []
|
215
216
|
require_paths:
|
216
217
|
- lib
|
@@ -226,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
227
|
version: '0'
|
227
228
|
requirements: []
|
228
229
|
rubygems_version: 3.0.3
|
229
|
-
signing_key:
|
230
|
+
signing_key:
|
230
231
|
specification_version: 4
|
231
232
|
summary: A REST client for the UK Companies House API
|
232
233
|
test_files: []
|