gbizinfo 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +6 -9
- data/Gemfile.lock +23 -6
- data/README.md +4 -4
- data/Rakefile +7 -9
- data/gbizinfo.gemspec +37 -36
- data/lib/gbizinfo/version.rb +1 -1
- data/pkg/gbizinfo-0.1.0.gem +0 -0
- data/pkg/gbizinfo-0.2.0.gem +0 -0
- data/spec/api/g_biz_inforestapi_api_spec.rb +185 -0
- data/spec/api/g_biz_inforestapi_period_specified_search_api_spec.rb +155 -0
- data/spec/api_client_spec.rb +228 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/gbizinfo_spec.rb +7 -0
- data/spec/models/api_error_spec.rb +40 -0
- data/spec/models/certification_info_spec.rb +70 -0
- data/spec/models/commendation_info_spec.rb +58 -0
- data/spec/models/compatibility_of_childcare_and_work_spec.rb +52 -0
- data/spec/models/finance_spec.rb +52 -0
- data/spec/models/hojin_info_response_spec.rb +52 -0
- data/spec/models/hojin_info_spec.rb +208 -0
- data/spec/models/hojin_info_update_info_response_spec.rb +70 -0
- data/spec/models/major_shareholders_spec.rb +40 -0
- data/spec/models/management_index_spec.rb +178 -0
- data/spec/models/patent_info_spec.rb +58 -0
- data/spec/models/procurement_info_spec.rb +58 -0
- data/spec/models/subsidy_info_spec.rb +76 -0
- data/spec/models/women_activity_infos_spec.rb +64 -0
- data/spec/models/workplace_base_infos_spec.rb +64 -0
- data/spec/models/workplace_info_bean_spec.rb +46 -0
- data/spec/spec_helper.rb +111 -0
- metadata +101 -22
- data/.openapi-generator/FILES +0 -48
- data/.openapi-generator/VERSION +0 -1
- data/.openapi-generator-ignore +0 -30
- data/.rspec +0 -3
- data/.rubocop.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7eb527eb08f978df7312386a4dd2548cb039c94a9a0f530e79f4df53d1b4d20
|
4
|
+
data.tar.gz: 4c6af4c9157c2c40c38f4bd8946899e7ae245ac11517085f371771c7d471d955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d20092f93f3964c20ee2274a308aebd961819389059a2a9bae91da3d6d269f4d28bfc4202d21cdb52ddc62d1290dcb4d3e6e39c943ef89daf4502ce3d8995f4
|
7
|
+
data.tar.gz: dd29a8cdaae0cc2c24d5522108d801895df84acf2be8b9ac790a1391bb786368c9cd882d47199331c78b80be83d6e7346979fe15627e8c6666314e98ed50c4e2
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,12 +1,9 @@
|
|
1
|
-
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
# Specify your gem's dependencies in gbizinfo.gemspec
|
6
3
|
gemspec
|
7
4
|
|
8
|
-
|
9
|
-
|
10
|
-
gem
|
11
|
-
|
12
|
-
|
5
|
+
group :development, :test do
|
6
|
+
gem 'rake', '~> 13.0.1'
|
7
|
+
gem 'pry-byebug'
|
8
|
+
gem 'rubocop', '~> 1.56.3'
|
9
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,33 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gbizinfo (0.
|
4
|
+
gbizinfo (0.2.0)
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
8
9
|
specs:
|
9
10
|
ast (2.4.2)
|
10
11
|
base64 (0.1.1)
|
12
|
+
byebug (11.1.3)
|
13
|
+
coderay (1.1.3)
|
11
14
|
diff-lcs (1.5.0)
|
15
|
+
ethon (0.16.0)
|
16
|
+
ffi (>= 1.15.0)
|
17
|
+
ffi (1.15.5)
|
12
18
|
json (2.6.3)
|
13
19
|
language_server-protocol (3.17.0.3)
|
20
|
+
method_source (1.0.0)
|
14
21
|
parallel (1.23.0)
|
15
22
|
parser (3.2.2.3)
|
16
23
|
ast (~> 2.4.1)
|
17
24
|
racc
|
25
|
+
pry (0.14.2)
|
26
|
+
coderay (~> 1.1)
|
27
|
+
method_source (~> 1.0)
|
28
|
+
pry-byebug (3.10.1)
|
29
|
+
byebug (~> 11.0)
|
30
|
+
pry (>= 0.13, < 0.15)
|
18
31
|
racc (1.7.1)
|
19
32
|
rainbow (3.1.1)
|
20
33
|
rake (13.0.6)
|
@@ -33,7 +46,7 @@ GEM
|
|
33
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
47
|
rspec-support (~> 3.12.0)
|
35
48
|
rspec-support (3.12.1)
|
36
|
-
rubocop (1.56.
|
49
|
+
rubocop (1.56.3)
|
37
50
|
base64 (~> 0.1.1)
|
38
51
|
json (~> 2.3)
|
39
52
|
language_server-protocol (>= 3.17.0)
|
@@ -48,17 +61,21 @@ GEM
|
|
48
61
|
rubocop-ast (1.29.0)
|
49
62
|
parser (>= 3.2.1.0)
|
50
63
|
ruby-progressbar (1.13.0)
|
64
|
+
typhoeus (1.4.0)
|
65
|
+
ethon (>= 0.9.0)
|
51
66
|
unicode-display_width (2.4.2)
|
52
67
|
|
53
68
|
PLATFORMS
|
54
69
|
x86_64-darwin-21
|
55
70
|
x86_64-darwin-22
|
71
|
+
x86_64-linux
|
56
72
|
|
57
73
|
DEPENDENCIES
|
58
74
|
gbizinfo!
|
59
|
-
|
60
|
-
|
61
|
-
|
75
|
+
pry-byebug
|
76
|
+
rake (~> 13.0.1)
|
77
|
+
rspec (~> 3.6, >= 3.6.0)
|
78
|
+
rubocop (~> 1.56.3)
|
62
79
|
|
63
80
|
BUNDLED WITH
|
64
|
-
2.
|
81
|
+
2.4.10
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Gbizinfo - the Ruby gem for the gBizINFO REST API
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 0.
|
10
|
+
- Package version: 0.2.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build gbizinfo.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./gbizinfo-0.
|
26
|
+
gem install ./gbizinfo-0.2.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./gbizinfo-0.
|
29
|
+
(for development, run `gem install --dev ./gbizinfo-0.2.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'gbizinfo', '~> 0.
|
35
|
+
gem 'gbizinfo', '~> 0.2.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/Rakefile
CHANGED
@@ -1,12 +1,10 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
require "bundler/gem_tasks"
|
4
|
-
require "rspec/core/rake_task"
|
5
|
-
|
6
|
-
RSpec::Core::RakeTask.new(:spec)
|
7
|
-
|
8
|
-
require "rubocop/rake_task"
|
9
2
|
|
10
|
-
|
3
|
+
begin
|
4
|
+
require 'rspec/core/rake_task'
|
11
5
|
|
12
|
-
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
7
|
+
task default: :spec
|
8
|
+
rescue LoadError
|
9
|
+
# no rspec available
|
10
|
+
end
|
data/gbizinfo.gemspec
CHANGED
@@ -1,37 +1,38 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
=begin
|
4
|
+
#gBizINFO REST API
|
5
|
+
|
6
|
+
#<div>各REST APIはHTTPリクエストヘッダX-hojinInfo-api-tokenに動作確認用のAPIトークンDTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href='https://info.gbiz.go.jp/hojin/api_registration/form'>Web API利用申請</a>を行い、APIトークンを取得してください。</div>
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0
|
9
|
+
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
OpenAPI Generator version: 7.0.0
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "gbizinfo/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "gbizinfo"
|
20
|
+
s.version = Gbizinfo::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["OpenAPI-Generator"]
|
23
|
+
s.email = [""]
|
24
|
+
s.homepage = "https://openapi-generator.tech"
|
25
|
+
s.summary = "gBizINFO REST API Ruby Gem"
|
26
|
+
s.description = "<div>各REST APIはHTTPリクエストヘッダX-hojinInfo-api-tokenに動作確認用のAPIトークンDTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href='https://info.gbiz.go.jp/hojin/api_registration/form'>Web API利用申請</a>を行い、APIトークンを取得してください。</div>"
|
27
|
+
s.license = "Unlicense"
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
29
|
+
|
30
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
+
|
32
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
33
|
+
|
34
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
35
|
+
s.test_files = `find spec/*`.split("\n")
|
36
|
+
s.executables = []
|
37
|
+
s.require_paths = ["lib"]
|
37
38
|
end
|
data/lib/gbizinfo/version.rb
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,185 @@
|
|
1
|
+
=begin
|
2
|
+
#gBizINFO REST API
|
3
|
+
|
4
|
+
#<div>各REST APIはHTTPリクエストヘッダ\"X-hojinInfo-api-token\"に動作確認用のAPIトークン\"DTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4\"を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href=\"./api_registration/form\">Web API利用申請</a>を行い、APIトークンを取得してください。</div>
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Gbizinfo::GBizINFORESTAPIApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GBizINFORESTAPIApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Gbizinfo::GBizINFORESTAPIApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GBizINFORESTAPIApi' do
|
30
|
+
it 'should create an instance of GBizINFORESTAPIApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Gbizinfo::GBizINFORESTAPIApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_certification_using_get
|
36
|
+
# gBizINFOから届出・認定情報を取得します.
|
37
|
+
# 指定された法人番号の情報を取得します。
|
38
|
+
# @param x_hojin_info_api_token APIトークン
|
39
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [HojinInfoResponse]
|
42
|
+
describe 'get_certification_using_get test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for get_commendation_using_get
|
49
|
+
# gBizINFOから表彰情報を取得します.
|
50
|
+
# 指定された法人番号の情報を取得します。
|
51
|
+
# @param x_hojin_info_api_token APIトークン
|
52
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [HojinInfoResponse]
|
55
|
+
describe 'get_commendation_using_get test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for get_finance_using_get
|
62
|
+
# gBizINFOから財務情報を取得します.
|
63
|
+
# 指定された法人番号の情報を取得します。
|
64
|
+
# @param x_hojin_info_api_token APIトークン
|
65
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [HojinInfoResponse]
|
68
|
+
describe 'get_finance_using_get test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# unit tests for get_patent_using_get
|
75
|
+
# gBizINFOから特許情報を取得します.
|
76
|
+
# 指定された法人番号の情報を取得します。
|
77
|
+
# @param x_hojin_info_api_token APIトークン
|
78
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [HojinInfoResponse]
|
81
|
+
describe 'get_patent_using_get test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for get_procurement_using_get
|
88
|
+
# gBizINFOから調達情報を取得します.
|
89
|
+
# 指定された法人番号の情報を取得します。
|
90
|
+
# @param x_hojin_info_api_token APIトークン
|
91
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
92
|
+
# @param [Hash] opts the optional parameters
|
93
|
+
# @return [HojinInfoResponse]
|
94
|
+
describe 'get_procurement_using_get test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# unit tests for get_subsidy_using_get
|
101
|
+
# gBizINFOから補助金情報を取得します.
|
102
|
+
# 指定された法人番号の情報を取得します。
|
103
|
+
# @param x_hojin_info_api_token APIトークン
|
104
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [HojinInfoResponse]
|
107
|
+
describe 'get_subsidy_using_get test' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# unit tests for get_using_get
|
114
|
+
# gBizINFOから法人基本情報を取得します.
|
115
|
+
# 指定された法人番号の情報を取得します。
|
116
|
+
# @param x_hojin_info_api_token APIトークン
|
117
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
118
|
+
# @param [Hash] opts the optional parameters
|
119
|
+
# @return [HojinInfoResponse]
|
120
|
+
describe 'get_using_get test' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# unit tests for get_workplace_information_using_get
|
127
|
+
# gBizINFOから職場情報を取得します.
|
128
|
+
# 指定された法人番号の情報を取得します。
|
129
|
+
# @param x_hojin_info_api_token APIトークン
|
130
|
+
# @param corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
131
|
+
# @param [Hash] opts the optional parameters
|
132
|
+
# @return [HojinInfoResponse]
|
133
|
+
describe 'get_workplace_information_using_get test' do
|
134
|
+
it 'should work' do
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# unit tests for search_info_using_get
|
140
|
+
# gBizINFOに登録された法人を検索します.
|
141
|
+
# gBizINFOに登録された法人を検索します。
|
142
|
+
# @param x_hojin_info_api_token APIトークン
|
143
|
+
# @param [Hash] opts the optional parameters
|
144
|
+
# @option opts [String] :corporate_number 法人番号:法人番号を設定。 入力された法人番号を完全一致で検索。
|
145
|
+
# @option opts [String] :name 法人名:法人名を設定。 入力された法人名を部分一致で検索。
|
146
|
+
# @option opts [String] :exist_flg 法人活動情報:以下のコードを設定。 true あり false なし
|
147
|
+
# @option opts [String] :corporate_type 法人種別:以下のコードを設定。 101 国の機関 201 地方公共団体 301 株式会社 302 有限会社 303 合名会社 304 合資会社 305 合同会社 399 その他の設立登記法人 401 外国会社等 499 その他 複数の場合はカンマ区切りでコードを設定。
|
148
|
+
# @option opts [String] :prefecture 所在地(都道府県):JIS X 0401都道府県コードを設定。
|
149
|
+
# @option opts [String] :city 所在地(市区町村):総務省地方公共団体コードの市区町村コードを設定。(prefecture設定必須)
|
150
|
+
# @option opts [String] :capital_stock_from 資本金(以上):資本金の下限を設定。0以上の整数を設定。
|
151
|
+
# @option opts [String] :capital_stock_to 資本金(以下):資本金の上限を設定。0以上の整数を設定。
|
152
|
+
# @option opts [String] :employee_number_from 従業員数(以上):従業員数の下限を設定。0以上の整数を設定。
|
153
|
+
# @option opts [String] :employee_number_to 従業員数(以下):従業員数の上限を設定。0以上の整数を設定。
|
154
|
+
# @option opts [String] :founded_year 創業年・設立年:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
|
155
|
+
# @option opts [String] :sales_area 営業エリア:https://info.gbiz.go.jp/codelist/document/codelist.pdf 地域対応表のgBizINFOのマスターコードを設定。 複数の場合はカンマ区切りでコードを設定。
|
156
|
+
# @option opts [String] :business_item 全省庁統一資格の営業品目:https://info.gbiz.go.jp/codelist/document/codelist.pdf 営業品目コードを設定。 複数の場合はカンマ区切りでコードを設定。
|
157
|
+
# @option opts [String] :unified_qualification 全省庁統一資格の資格等級(従来型):従来型の資格等級指定を行う場合に使用する。資格等級(物品の製造、物品の販売、役務の提供等、物品の買受け)のいずれかがA,B,C,Dであるものを指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
|
158
|
+
# @option opts [String] :unified_qualification_sub01 全省庁統一資格の資格等級(物品の製造):物品の製造をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
|
159
|
+
# @option opts [String] :unified_qualification_sub02 全省庁統一資格の資格等級(物品の販売):物品の販売をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
|
160
|
+
# @option opts [String] :unified_qualification_sub03 全省庁統一資格の資格等級(役務の提供等):役務の提供等をA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
|
161
|
+
# @option opts [String] :unified_qualification_sub04 全省庁統一資格の資格等級(物品の買受け):物品の買受けをA,B,C,Dで指定。複数指定の場合は半角カンマ区切りで半角コードを設定。
|
162
|
+
# @option opts [String] :net_sales_summary_of_business_results_from 売上高(以上):売上高の下限を設定。0以上の整数を設定。
|
163
|
+
# @option opts [String] :net_sales_summary_of_business_results_to 売上高(以下):売上高の上限を設定。0以上の整数を設定。
|
164
|
+
# @option opts [String] :net_income_loss_summary_of_business_results_from 当期純利益又は当期純損失(△)(以上):当期純利益又は当期純損失(△)の下限を設定。0以上の整数を設定。
|
165
|
+
# @option opts [String] :net_income_loss_summary_of_business_results_to 当期純利益又は当期純損失(△)(以下):当期純利益又は当期純損失(△)の上限を設定。0以上の整数を設定。
|
166
|
+
# @option opts [String] :total_assets_summary_of_business_results_from 総資産額(以上):総資産額の下限を設定。0以上の整数を設定。
|
167
|
+
# @option opts [String] :total_assets_summary_of_business_results_to 総資産額(以下):総資産額の上限を設定。0以上の整数を設定。
|
168
|
+
# @option opts [String] :name_major_shareholders 大株主名:大株主名を設定。 入力された大株主名を部分一致で検索。
|
169
|
+
# @option opts [String] :average_continuous_service_years 平均継続勤務年数:以下のコードを設定。 A:~5年 B:6年~10年 C:11年~20年 D:21年~
|
170
|
+
# @option opts [String] :average_age 従業員の平均年齢:以下のコードを設定。 A:~30歳 B:31歳~45歳 C:46歳~60歳 D:61歳~
|
171
|
+
# @option opts [String] :month_average_predetermined_overtime_hours 月平均所定外労働時間:以下のコードを設定。 A:20時間未満 B:40時間未満 C:40時間以上
|
172
|
+
# @option opts [String] :female_workers_proportion 労働者に占める女性労働者の割合:以下のコードを設定。 A:~20% B:21%~40% C:41%~60% D:61%~
|
173
|
+
# @option opts [String] :year 年度:正の整数を設定。 複数の場合はカンマ区切りで年を設定。
|
174
|
+
# @option opts [String] :ministry 担当府省: 担当府省コードの内部コードを指定。複数の場合はカンマ区切りでコードを設定。 内部コードは以下。 https://info.gbiz.go.jp/common/data/setcodelist.pdf
|
175
|
+
# @option opts [String] :source 出典元:以下のコードを設定。 1 調達 2 表彰 3 届出認定 4 補助金 5 特許 6 財務 複数の場合はカンマ区切りでコードを設定。
|
176
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1,上限値10。
|
177
|
+
# @option opts [String] :limit 検索結果の1ページあたりの件数:0以上の整数を設定。 下限値0,上限値5000。
|
178
|
+
# @return [HojinInfoResponse]
|
179
|
+
describe 'search_info_using_get test' do
|
180
|
+
it 'should work' do
|
181
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
@@ -0,0 +1,155 @@
|
|
1
|
+
=begin
|
2
|
+
#gBizINFO REST API
|
3
|
+
|
4
|
+
#<div>各REST APIはHTTPリクエストヘッダ\"X-hojinInfo-api-token\"に動作確認用のAPIトークン\"DTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4\"を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href=\"./api_registration/form\">Web API利用申請</a>を行い、APIトークンを取得してください。</div>
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GBizINFORESTAPIPeriodSpecifiedSearchApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GBizINFORESTAPIPeriodSpecifiedSearchApi' do
|
30
|
+
it 'should create an instance of GBizINFORESTAPIPeriodSpecifiedSearchApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Gbizinfo::GBizINFORESTAPIPeriodSpecifiedSearchApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_certification_update_info_using_get
|
36
|
+
# gBizINFOから期間内に追加/更新された届出・認定情報を取得します.
|
37
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
38
|
+
# @param x_hojin_info_api_token APIトークン
|
39
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
40
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
43
|
+
# @return [HojinInfoResponse]
|
44
|
+
describe 'get_certification_update_info_using_get test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for get_commendation_update_info_using_get
|
51
|
+
# gBizINFOから期間内に追加/更新された表彰情報を取得します.
|
52
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
53
|
+
# @param x_hojin_info_api_token APIトークン
|
54
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
55
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
58
|
+
# @return [HojinInfoResponse]
|
59
|
+
describe 'get_commendation_update_info_using_get test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for get_finance_update_info_using_get
|
66
|
+
# gBizINFOから期間内に追加/更新された財務情報を取得します.
|
67
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
68
|
+
# @param x_hojin_info_api_token APIトークン
|
69
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
70
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
73
|
+
# @return [HojinInfoResponse]
|
74
|
+
describe 'get_finance_update_info_using_get test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# unit tests for get_patent_update_info_using_get
|
81
|
+
# gBizINFOから期間内に追加/更新された特許情報を取得します.
|
82
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
83
|
+
# @param x_hojin_info_api_token APIトークン
|
84
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
85
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
88
|
+
# @return [HojinInfoResponse]
|
89
|
+
describe 'get_patent_update_info_using_get test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for get_procurement_update_info_using_get
|
96
|
+
# gBizINFOから期間内に追加/更新された調達情報を取得します.
|
97
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
98
|
+
# @param x_hojin_info_api_token APIトークン
|
99
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
100
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
103
|
+
# @return [HojinInfoResponse]
|
104
|
+
describe 'get_procurement_update_info_using_get test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for get_subsidy_update_info_using_get
|
111
|
+
# gBizINFOから期間内に追加/更新された補助金情報を取得します.
|
112
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
113
|
+
# @param x_hojin_info_api_token APIトークン
|
114
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
115
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
118
|
+
# @return [HojinInfoResponse]
|
119
|
+
describe 'get_subsidy_update_info_using_get test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# unit tests for get_update_info_using_get
|
126
|
+
# gBizINFOから期間内に追加/更新された法人基本情報を取得します.
|
127
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
128
|
+
# @param x_hojin_info_api_token APIトークン
|
129
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
130
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
131
|
+
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
133
|
+
# @return [HojinInfoResponse]
|
134
|
+
describe 'get_update_info_using_get test' do
|
135
|
+
it 'should work' do
|
136
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# unit tests for get_workplace_information_update_info_using_get
|
141
|
+
# gBizINFOから期間内に追加/更新された職場情報を取得します.
|
142
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
143
|
+
# @param x_hojin_info_api_token APIトークン
|
144
|
+
# @param from 検索対象期間の開始日:yyyyMMdd形式を設定。
|
145
|
+
# @param to 検索対象期間の終了日:yyyyMMdd形式を設定。
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。
|
148
|
+
# @return [HojinInfoResponse]
|
149
|
+
describe 'get_workplace_information_update_info_using_get test' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|