oneaccess 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oneaccess/data_object/company.rb +1 -0
- data/lib/oneaccess/data_object/{sub_industry.rb → industry.rb} +2 -2
- data/lib/oneaccess/data_object/representer/company.rb +3 -1
- data/lib/oneaccess/data_object/representer/{sub_industry.rb → industry.rb} +1 -1
- data/lib/oneaccess/response/representer/company_representer.rb +1 -1
- data/oneaccess.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7be4f855aec4b0bd8540d94fae6068e4c691d725
|
4
|
+
data.tar.gz: 2d7de3e913bfcd0915706a18180feb581f776ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc66efc284b1cdfe8f3b9456cc0ed263c4dca9e3d1332c98c1915d762f90c248fa56ee4218e770c370b468d74daeddbcd3958c9ff0bade43faf11dc3555f444
|
7
|
+
data.tar.gz: 0802f43c609e2e50126c07e61ebec9e05bec18bb9ef807c8a98ed6861bbd5b6a5b4c3c78a8785e968e65cc16c573ec4fc895c3bc841b0506c7140f4390cfebb0
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "./representer/
|
3
|
+
require_relative "./representer/industry"
|
4
4
|
|
5
5
|
module ONEAccess
|
6
6
|
module DataObject
|
7
|
-
class
|
7
|
+
class Industry
|
8
8
|
attr_accessor :id
|
9
9
|
attr_accessor :name
|
10
10
|
attr_accessor :code
|
@@ -15,8 +15,10 @@ module ONEAccess
|
|
15
15
|
property :website, as: :Website, type: String
|
16
16
|
property :address, as: :Address,
|
17
17
|
decorator: Representer::Address, class: DataObject::Address
|
18
|
+
property :industry, as: :Industry,
|
19
|
+
decorator: Representer::Industry, class: DataObject::Industry
|
18
20
|
property :sub_industry, as: :SubIndustry,
|
19
|
-
decorator: Representer::
|
21
|
+
decorator: Representer::Industry, class: DataObject::Industry
|
20
22
|
end
|
21
23
|
end
|
22
24
|
end
|
data/oneaccess.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = "oneaccess"
|
4
|
-
s.version = "0.1.
|
5
|
-
s.date = "2017-
|
4
|
+
s.version = "0.1.3"
|
5
|
+
s.date = "2017-12-05"
|
6
6
|
s.summary = "ONEAccess API wrapper"
|
7
7
|
s.description = "Easily communicate with ONEAccess API"
|
8
8
|
s.homepage = "https://github.com/AlphaExchange/rixml"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oneaccess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Correia Santos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -195,6 +195,7 @@ files:
|
|
195
195
|
- lib/oneaccess/data_object/company_light.rb
|
196
196
|
- lib/oneaccess/data_object/country.rb
|
197
197
|
- lib/oneaccess/data_object/global_region.rb
|
198
|
+
- lib/oneaccess/data_object/industry.rb
|
198
199
|
- lib/oneaccess/data_object/organization.rb
|
199
200
|
- lib/oneaccess/data_object/organization_light.rb
|
200
201
|
- lib/oneaccess/data_object/product_group.rb
|
@@ -205,17 +206,16 @@ files:
|
|
205
206
|
- lib/oneaccess/data_object/representer/company_light.rb
|
206
207
|
- lib/oneaccess/data_object/representer/country.rb
|
207
208
|
- lib/oneaccess/data_object/representer/global_region.rb
|
209
|
+
- lib/oneaccess/data_object/representer/industry.rb
|
208
210
|
- lib/oneaccess/data_object/representer/organization.rb
|
209
211
|
- lib/oneaccess/data_object/representer/organization_light.rb
|
210
212
|
- lib/oneaccess/data_object/representer/product_group.rb
|
211
213
|
- lib/oneaccess/data_object/representer/region.rb
|
212
214
|
- lib/oneaccess/data_object/representer/research_document_info.rb
|
213
215
|
- lib/oneaccess/data_object/representer/saml_info.rb
|
214
|
-
- lib/oneaccess/data_object/representer/sub_industry.rb
|
215
216
|
- lib/oneaccess/data_object/representer/user.rb
|
216
217
|
- lib/oneaccess/data_object/research_document_info.rb
|
217
218
|
- lib/oneaccess/data_object/saml_info.rb
|
218
|
-
- lib/oneaccess/data_object/sub_industry.rb
|
219
219
|
- lib/oneaccess/data_object/user.rb
|
220
220
|
- lib/oneaccess/enum/api_status_code.rb
|
221
221
|
- lib/oneaccess/enum/product_group_status.rb
|