fountain_partner_api_client 0.0.1 → 0.0.3
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/README.md +10 -23
- data/docs/DefaultApi.md +1 -229
- data/docs/V1PartnersIdGet200Response1DataAttributes.md +2 -2
- data/docs/V1PartnersIdGet200ResponseDataAttributes.md +2 -2
- data/docs/V1PartnersIdGetRequest.md +2 -0
- data/docs/V1PartnersIdGetRequestPartner.md +1 -1
- data/docs/V1PartnersIdPut200Response.md +18 -0
- data/docs/V1PartnersIdPut200ResponseData.md +22 -0
- data/docs/V1PartnersIdPut200ResponseDataAttributes.md +38 -0
- data/docs/V1PartnersIdPutRequest.md +20 -0
- data/docs/V1PartnersIdPutRequestPartner.md +36 -0
- data/fountain_partner_api_client-0.0.2.gem +0 -0
- data/fountain_partner_api_client.gemspec +1 -1
- data/lib/fountain_partner_api_client/api/default_api.rb +0 -222
- data/lib/fountain_partner_api_client/configuration.rb +3 -3
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response1_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get200_response_data_attributes.rb +8 -4
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request.rb +10 -1
- data/lib/fountain_partner_api_client/models/v1_partners_id_get_request_partner.rb +4 -2
- data/lib/{openapi_client/models/v1_partners_id_get200_response1.rb → fountain_partner_api_client/models/v1_partners_id_put200_response.rb} +6 -6
- data/lib/{openapi_client/models/v1_partners_id_get200_response_data.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data.rb} +6 -6
- data/lib/{openapi_client/models/v1_partners_id_get200_response1_data_attributes.rb → fountain_partner_api_client/models/v1_partners_id_put200_response_data_attributes.rb} +6 -24
- data/lib/{openapi_client/models/v1_partners_id_get_request.rb → fountain_partner_api_client/models/v1_partners_id_put_request.rb} +16 -7
- data/lib/{openapi_client/models/v1_partners_id_get_request_partner.rb → fountain_partner_api_client/models/v1_partners_id_put_request_partner.rb} +6 -15
- data/lib/fountain_partner_api_client/version.rb +1 -1
- data/lib/fountain_partner_api_client.rb +0 -10
- data/spec/api/default_api_spec.rb +5 -57
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/v1_partners_id_get200_response1_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response1_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_attributes_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_data_spec.rb +4 -4
- data/spec/models/v1_partners_id_get200_response_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_partner_spec.rb +4 -4
- data/spec/models/v1_partners_id_get_request_spec.rb +10 -4
- data/spec/models/v1_partners_id_put200_response_data_attributes_spec.rb +94 -0
- data/spec/models/v1_partners_id_put200_response_data_spec.rb +46 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put_request_spec.rb → v1_partners_id_put200_response_spec.rb} +7 -7
- data/spec/models/v1_partners_id_put_request_partner_spec.rb +88 -0
- data/spec/models/{v1_partners_id_applicants_applicant_id_put200_response_spec.rb → v1_partners_id_put_request_spec.rb} +8 -8
- metadata +24 -68
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdDetailsPostRequestApplicantPartnerDetails.md +0 -26
- data/docs/V1PartnersIdApplicantsApplicantIdPut200Response.md +0 -20
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdPutRequestApplicantLabelsInner.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequest.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicant.md +0 -18
- data/docs/V1PartnersIdApplicantsApplicantIdStatusPostRequestApplicantPartnerStatus.md +0 -26
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/api/default_api.rb +0 -379
- data/lib/openapi_client/api_client.rb +0 -392
- data/lib/openapi_client/api_error.rb +0 -57
- data/lib/openapi_client/configuration.rb +0 -279
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put200_response.rb +0 -230
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant.rb +0 -221
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status.rb +0 -255
- data/lib/openapi_client/models/v1_partners_id_get200_response.rb +0 -219
- data/lib/openapi_client/models/v1_partners_id_get200_response1_data.rb +0 -237
- data/lib/openapi_client/models/v1_partners_id_get200_response_data_attributes.rb +0 -309
- data/lib/openapi_client/version.rb +0 -15
- data/lib/openapi_client.rb +0 -58
- data/openapi_client.gemspec +0 -38
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_details_post_request_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_put_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status_spec.rb +0 -58
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_spec.rb +0 -34
- data/spec/models/v1_partners_id_applicants_applicant_id_status_post_request_spec.rb +0 -34
@@ -13,16 +13,14 @@ OpenAPI Generator version: 6.2.1
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
17
|
-
class
|
16
|
+
module FountainPartnerApiClient
|
17
|
+
class V1PartnersIdPutRequestPartner
|
18
18
|
attr_accessor :applicant_redirect_url
|
19
19
|
|
20
20
|
attr_accessor :applicant_webhook
|
21
21
|
|
22
22
|
attr_accessor :install_webhook
|
23
23
|
|
24
|
-
attr_accessor :label_keys
|
25
|
-
|
26
24
|
attr_accessor :partner_hmac_key
|
27
25
|
|
28
26
|
attr_accessor :settings_auth_header
|
@@ -43,7 +41,6 @@ module OpenapiClient
|
|
43
41
|
:'applicant_redirect_url' => :'applicant_redirect_url',
|
44
42
|
:'applicant_webhook' => :'applicant_webhook',
|
45
43
|
:'install_webhook' => :'install_webhook',
|
46
|
-
:'label_keys' => :'label_keys',
|
47
44
|
:'partner_hmac_key' => :'partner_hmac_key',
|
48
45
|
:'settings_auth_header' => :'settings_auth_header',
|
49
46
|
:'settings_auth_method' => :'settings_auth_method',
|
@@ -65,7 +62,6 @@ module OpenapiClient
|
|
65
62
|
:'applicant_redirect_url' => :'String',
|
66
63
|
:'applicant_webhook' => :'String',
|
67
64
|
:'install_webhook' => :'String',
|
68
|
-
:'label_keys' => :'Array',
|
69
65
|
:'partner_hmac_key' => :'String',
|
70
66
|
:'settings_auth_header' => :'String',
|
71
67
|
:'settings_auth_method' => :'String',
|
@@ -86,13 +82,13 @@ module OpenapiClient
|
|
86
82
|
# @param [Hash] attributes Model attributes in the form of hash
|
87
83
|
def initialize(attributes = {})
|
88
84
|
if (!attributes.is_a?(Hash))
|
89
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
85
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FountainPartnerApiClient::V1PartnersIdPutRequestPartner` initialize method"
|
90
86
|
end
|
91
87
|
|
92
88
|
# check to see if the attribute exists and convert string to symbol for hash key
|
93
89
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
94
90
|
if (!self.class.attribute_map.key?(k.to_sym))
|
95
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
91
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FountainPartnerApiClient::V1PartnersIdPutRequestPartner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
96
92
|
end
|
97
93
|
h[k.to_sym] = v
|
98
94
|
}
|
@@ -109,10 +105,6 @@ module OpenapiClient
|
|
109
105
|
self.install_webhook = attributes[:'install_webhook']
|
110
106
|
end
|
111
107
|
|
112
|
-
if attributes.key?(:'label_keys')
|
113
|
-
self.label_keys = attributes[:'label_keys']
|
114
|
-
end
|
115
|
-
|
116
108
|
if attributes.key?(:'partner_hmac_key')
|
117
109
|
self.partner_hmac_key = attributes[:'partner_hmac_key']
|
118
110
|
end
|
@@ -163,7 +155,6 @@ module OpenapiClient
|
|
163
155
|
applicant_redirect_url == o.applicant_redirect_url &&
|
164
156
|
applicant_webhook == o.applicant_webhook &&
|
165
157
|
install_webhook == o.install_webhook &&
|
166
|
-
label_keys == o.label_keys &&
|
167
158
|
partner_hmac_key == o.partner_hmac_key &&
|
168
159
|
settings_auth_header == o.settings_auth_header &&
|
169
160
|
settings_auth_method == o.settings_auth_method &&
|
@@ -182,7 +173,7 @@ module OpenapiClient
|
|
182
173
|
# Calculates hash code according to all attributes.
|
183
174
|
# @return [Integer] Hash code
|
184
175
|
def hash
|
185
|
-
[applicant_redirect_url, applicant_webhook, install_webhook,
|
176
|
+
[applicant_redirect_url, applicant_webhook, install_webhook, partner_hmac_key, settings_auth_header, settings_auth_method, settings_password, settings_username, settings_webhook, uninstall_webhook].hash
|
186
177
|
end
|
187
178
|
|
188
179
|
# Builds the object from hash
|
@@ -253,7 +244,7 @@ module OpenapiClient
|
|
253
244
|
end
|
254
245
|
else # model
|
255
246
|
# models (e.g. Pet) or oneOf
|
256
|
-
klass =
|
247
|
+
klass = FountainPartnerApiClient.const_get(type)
|
257
248
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
258
249
|
end
|
259
250
|
end
|
@@ -17,16 +17,6 @@ require 'fountain_partner_api_client/version'
|
|
17
17
|
require 'fountain_partner_api_client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request'
|
21
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant'
|
22
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_details_post_request_applicant_partner_details'
|
23
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put200_response'
|
24
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request'
|
25
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant'
|
26
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_put_request_applicant_labels_inner'
|
27
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request'
|
28
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant'
|
29
|
-
require 'fountain_partner_api_client/models/v1_partners_id_applicants_applicant_id_status_post_request_applicant_partner_status'
|
30
20
|
require 'fountain_partner_api_client/models/v1_partners_id_get200_response'
|
31
21
|
require 'fountain_partner_api_client/models/v1_partners_id_get200_response1'
|
32
22
|
require 'fountain_partner_api_client/models/v1_partners_id_get200_response1_data'
|
@@ -13,13 +13,13 @@ OpenAPI Generator version: 6.2.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for FountainPartnerApiClient::DefaultApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'DefaultApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance =
|
22
|
+
@api_instance = FountainPartnerApiClient::DefaultApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,59 +28,7 @@ describe 'DefaultApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of DefaultApi' do
|
30
30
|
it 'should create an instance of DefaultApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for v1_partners_id_applicants_applicant_id_details_post
|
36
|
-
# Create Applicant Details
|
37
|
-
# @param applicant_id
|
38
|
-
# @param id
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [V1PartnersIdApplicantsApplicantIdDetailsPostRequest] :v1_partners_id_applicants_applicant_id_details_post_request
|
41
|
-
# @return [Object]
|
42
|
-
describe 'v1_partners_id_applicants_applicant_id_details_post test' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# unit tests for v1_partners_id_applicants_applicant_id_put
|
49
|
-
# Update Applicant
|
50
|
-
# @param applicant_id
|
51
|
-
# @param id
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @option opts [V1PartnersIdApplicantsApplicantIdPutRequest] :v1_partners_id_applicants_applicant_id_put_request
|
54
|
-
# @return [V1PartnersIdApplicantsApplicantIdPut200Response]
|
55
|
-
describe 'v1_partners_id_applicants_applicant_id_put test' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# unit tests for v1_partners_id_applicants_applicant_id_status_post
|
62
|
-
# Create Applicant Status
|
63
|
-
# @param applicant_id
|
64
|
-
# @param id
|
65
|
-
# @param [Hash] opts the optional parameters
|
66
|
-
# @option opts [V1PartnersIdApplicantsApplicantIdStatusPostRequest] :v1_partners_id_applicants_applicant_id_status_post_request
|
67
|
-
# @return [Object]
|
68
|
-
describe 'v1_partners_id_applicants_applicant_id_status_post test' do
|
69
|
-
it 'should work' do
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# unit tests for v1_partners_id_get
|
75
|
-
# Show Partner
|
76
|
-
# @param id
|
77
|
-
# @param [Hash] opts the optional parameters
|
78
|
-
# @option opts [Object] :format
|
79
|
-
# @option opts [Object] :partner
|
80
|
-
# @return [V1PartnersIdGet200Response]
|
81
|
-
describe 'v1_partners_id_get test' do
|
82
|
-
it 'should work' do
|
83
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
expect(@api_instance).to be_instance_of(FountainPartnerApiClient::DefaultApi)
|
84
32
|
end
|
85
33
|
end
|
86
34
|
|
@@ -88,8 +36,8 @@ describe 'DefaultApi' do
|
|
88
36
|
# Update Partner
|
89
37
|
# @param id
|
90
38
|
# @param [Hash] opts the optional parameters
|
91
|
-
# @option opts [
|
92
|
-
# @return [
|
39
|
+
# @option opts [V1PartnersIdPutRequest] :v1_partners_id_put_request
|
40
|
+
# @return [V1PartnersIdPut200Response]
|
93
41
|
describe 'v1_partners_id_put test' do
|
94
42
|
it 'should work' do
|
95
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe FountainPartnerApiClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("http://localhost:3009")
|
22
22
|
# FountainPartnerApiClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe FountainPartnerApiClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("http://localhost:3009")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("http://localhost:3009")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200Response1DataAttributes
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200Response1DataAttributes do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200Response1DataAttributes.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200Response1DataAttributes' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200Response1DataAttributes' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200Response1DataAttributes)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "api_key"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200Response1Data
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200Response1Data do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200Response1Data.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200Response1Data' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200Response1Data' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200Response1Data)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "attributes"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200Response1
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200Response1 do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200Response1.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200Response1' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200Response1' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200Response1)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "data"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200ResponseDataAttributes
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200ResponseDataAttributes do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200ResponseDataAttributes.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200ResponseDataAttributes' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200ResponseDataAttributes' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200ResponseDataAttributes)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "api_key"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200ResponseData
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200ResponseData do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200ResponseData.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200ResponseData' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200ResponseData' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200ResponseData)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "attributes"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGet200Response
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGet200Response do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGet200Response.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGet200Response' do
|
24
24
|
it 'should create an instance of V1PartnersIdGet200Response' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGet200Response)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "data"' do
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGetRequestPartner
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGetRequestPartner do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGetRequestPartner.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGetRequestPartner' do
|
24
24
|
it 'should create an instance of V1PartnersIdGetRequestPartner' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGetRequestPartner)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "applicant_redirect_url"' do
|
@@ -14,17 +14,23 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdGetRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdGetRequest do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdGetRequest.new }
|
22
22
|
|
23
23
|
describe 'test an instance of V1PartnersIdGetRequest' do
|
24
24
|
it 'should create an instance of V1PartnersIdGetRequest' do
|
25
|
-
expect(instance).to be_instance_of(
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdGetRequest)
|
26
26
|
end
|
27
27
|
end
|
28
|
+
describe 'test attribute "format"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
28
34
|
describe 'test attribute "partner"' do
|
29
35
|
it 'should work' do
|
30
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,94 @@
|
|
1
|
+
=begin
|
2
|
+
#Fountain Partner Docs
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of V1PartnersIdPut200ResponseDataAttributes' do
|
24
|
+
it 'should create an instance of V1PartnersIdPut200ResponseDataAttributes' do
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdPut200ResponseDataAttributes)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "api_key"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "applicant_redirect_url"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "applicant_webhook"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "install_webhook"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "name"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "settings_auth_header"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "settings_auth_method"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "settings_password"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "settings_username"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "settings_webhook"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "uninstall_webhook"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
#Fountain Partner Docs
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdPut200ResponseData
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdPut200ResponseData do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdPut200ResponseData.new }
|
22
|
+
|
23
|
+
describe 'test an instance of V1PartnersIdPut200ResponseData' do
|
24
|
+
it 'should create an instance of V1PartnersIdPut200ResponseData' do
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdPut200ResponseData)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "attributes"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "type"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
@@ -14,18 +14,18 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdPut200Response
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe
|
21
|
-
let(:instance) {
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdPut200Response do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdPut200Response.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(
|
23
|
+
describe 'test an instance of V1PartnersIdPut200Response' do
|
24
|
+
it 'should create an instance of V1PartnersIdPut200Response' do
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdPut200Response)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "data"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
=begin
|
2
|
+
#Fountain Partner Docs
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FountainPartnerApiClient::V1PartnersIdPutRequestPartner
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FountainPartnerApiClient::V1PartnersIdPutRequestPartner do
|
21
|
+
let(:instance) { FountainPartnerApiClient::V1PartnersIdPutRequestPartner.new }
|
22
|
+
|
23
|
+
describe 'test an instance of V1PartnersIdPutRequestPartner' do
|
24
|
+
it 'should create an instance of V1PartnersIdPutRequestPartner' do
|
25
|
+
expect(instance).to be_instance_of(FountainPartnerApiClient::V1PartnersIdPutRequestPartner)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "applicant_redirect_url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "applicant_webhook"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "install_webhook"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "partner_hmac_key"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "settings_auth_header"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "settings_auth_method"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "settings_password"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "settings_username"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "settings_webhook"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "uninstall_webhook"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|