companies_house_hub 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -3
- data/bin/console +1 -1
- data/lib/companies_house_hub/models/company.rb +2 -1
- data/lib/companies_house_hub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87deb56643adb8d9c64311cab90a144cce83461396798bccab070eeb538170bc
|
4
|
+
data.tar.gz: 6fd9dc47087a11fccc21c90e0d3a8d47d89f2672462eadbe1bcba294774df6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3264ff1d4bcc95661b2693b22da5bf0426bf0721dfc798acd023ff62a010e0ee09c831509f6c9a77d72fa2b31b56409e43ce395f326b8fbb1ae2cae402aa3a
|
7
|
+
data.tar.gz: d35abe06fd8a1ed547f400c0b2b1881c5d4f82eb3741e506e040d41d2515b805f0c0e0cfe1982e0f8ab03fe842313ab851cdb8169bd5604cc47869d2a865520f
|
data/.rubocop.yml
CHANGED
data/bin/console
CHANGED
@@ -10,7 +10,7 @@ module CompaniesHouseHub
|
|
10
10
|
FIND_PATH = '/company/:company_number'
|
11
11
|
|
12
12
|
attr_reader :number, :name, :created_at, :address, :type, :jurisdiction, :has_been_liquidated
|
13
|
-
attr_reader :status, :accounts, :full_address
|
13
|
+
attr_reader :status, :accounts, :confirmation_statement, :full_address
|
14
14
|
|
15
15
|
alias company_number number
|
16
16
|
alias company_name name
|
@@ -54,6 +54,7 @@ module CompaniesHouseHub
|
|
54
54
|
@status = json.dig(:company_status)
|
55
55
|
@type = json.dig(:type) || json.dig(:company_type)
|
56
56
|
@accounts = json.dig(:accounts)
|
57
|
+
@confirmation_statement = json.dig(:confirmation_statement)
|
57
58
|
@full_address = json.fetch(:address_snippet, @address.full)
|
58
59
|
end
|
59
60
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Otero
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|