companies_house_hub 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +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: b8e5df4f7b60295ef0c1074db071ba3e1059b27111badcb84da2ff7a4348088f
|
4
|
+
data.tar.gz: 52e37cb19a77cc53c5619c12c3f92957ead72464578568a2b5863c4504c24bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 927e9bc1f1f50b31e714a8cdc0f09124e870533cd28c2938a90f3e5a4a2a0e959289d9d69496b0b90a6d243fb7fffd3099f95b95613320584e3bbb59088b3e05
|
7
|
+
data.tar.gz: 50b9c5ae27a4dc634615a3b5478b67591fdd1340265e50143644651c5b5717bd921400919475f1b29aa0cd83865411fcb4605c90d6e10bfac3875c9bb7552e09
|
data/README.md
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, :confirmation_statement, :full_address
|
13
|
+
attr_reader :status, :accounts, :confirmation_statement, :full_address, :raw_json
|
14
14
|
|
15
15
|
alias company_number number
|
16
16
|
alias company_name name
|
@@ -45,6 +45,7 @@ module CompaniesHouseHub
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def initialize(json = {})
|
48
|
+
@raw_json = json
|
48
49
|
@number = json.dig(:company_number)
|
49
50
|
@has_been_liquidated = json.dig(:has_been_liquidated)
|
50
51
|
@jurisdiction = json.dig(:jurisdiction)
|
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.7
|
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-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|