dock_genius_api_ruby_client 0.1.1.pre.g582ac6 → 0.1.2.pre.ge30447
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/config.json +10 -0
- data/dg-api-gem +1 -0
- data/swagger.yml +3075 -0
- metadata +170 -78
- data/LICENSE +0 -201
- data/README.md +0 -200
- data/dock_genius_api_ruby_client.gemspec +0 -55
- data/docs/AccessToken.md +0 -11
- data/docs/Address.md +0 -16
- data/docs/Customer.md +0 -22
- data/docs/CustomerApi.md +0 -1938
- data/docs/Dock.md +0 -20
- data/docs/DockApi.md +0 -1112
- data/docs/EmailAddress.md +0 -9
- data/docs/GeoPoint.md +0 -9
- data/docs/InlineResponse200.md +0 -8
- data/docs/InlineResponse2001.md +0 -8
- data/docs/InlineResponse2002.md +0 -8
- data/docs/ListingAgent.md +0 -12
- data/docs/Marina.md +0 -15
- data/docs/MarinaApi.md +0 -1602
- data/docs/Phone.md +0 -9
- data/git_push.sh +0 -67
- data/lib/dock_genius_api_ruby_client.rb +0 -65
- data/lib/dock_genius_api_ruby_client/api/customer_api.rb +0 -2363
- data/lib/dock_genius_api_ruby_client/api/dock_api.rb +0 -1352
- data/lib/dock_genius_api_ruby_client/api/marina_api.rb +0 -1945
- data/lib/dock_genius_api_ruby_client/api_client.rb +0 -378
- data/lib/dock_genius_api_ruby_client/api_error.rb +0 -47
- data/lib/dock_genius_api_ruby_client/configuration.rb +0 -207
- data/lib/dock_genius_api_ruby_client/models/access_token.rb +0 -230
- data/lib/dock_genius_api_ruby_client/models/address.rb +0 -281
- data/lib/dock_genius_api_ruby_client/models/customer.rb +0 -330
- data/lib/dock_genius_api_ruby_client/models/dock.rb +0 -327
- data/lib/dock_genius_api_ruby_client/models/email_address.rb +0 -208
- data/lib/dock_genius_api_ruby_client/models/geo_point.rb +0 -208
- data/lib/dock_genius_api_ruby_client/models/inline_response_200.rb +0 -199
- data/lib/dock_genius_api_ruby_client/models/inline_response_200_1.rb +0 -200
- data/lib/dock_genius_api_ruby_client/models/inline_response_200_2.rb +0 -199
- data/lib/dock_genius_api_ruby_client/models/listing_agent.rb +0 -239
- data/lib/dock_genius_api_ruby_client/models/marina.rb +0 -263
- data/lib/dock_genius_api_ruby_client/models/phone.rb +0 -209
- data/lib/dock_genius_api_ruby_client/version.rb +0 -26
- data/spec/api/customer_api_spec.rb +0 -551
- data/spec/api/dock_api_spec.rb +0 -332
- data/spec/api/marina_api_spec.rb +0 -461
- data/spec/api_client_spec.rb +0 -237
- data/spec/configuration_spec.rb +0 -53
- data/spec/models/access_token_spec.rb +0 -71
- data/spec/models/address_spec.rb +0 -101
- data/spec/models/customer_spec.rb +0 -137
- data/spec/models/dock_spec.rb +0 -125
- data/spec/models/email_address_spec.rb +0 -59
- data/spec/models/geo_point_spec.rb +0 -59
- data/spec/models/inline_response_200_1_spec.rb +0 -53
- data/spec/models/inline_response_200_2_spec.rb +0 -53
- data/spec/models/inline_response_200_spec.rb +0 -53
- data/spec/models/listing_agent_spec.rb +0 -77
- data/spec/models/marina_spec.rb +0 -95
- data/spec/models/phone_spec.rb +0 -59
- data/spec/spec_helper.rb +0 -122
@@ -1,26 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#dockgenius-sl
|
3
|
-
|
4
|
-
#No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
module DockGeniusApiRubyClient
|
25
|
-
VERSION = "0.1.1-g582ac6"
|
26
|
-
end
|
@@ -1,551 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#dockgenius-sl
|
3
|
-
|
4
|
-
#No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for DockGeniusApiRubyClient::CustomerApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'CustomerApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = DockGeniusApiRubyClient::CustomerApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of CustomerApi' do
|
41
|
-
it 'should create an instact of CustomerApi' do
|
42
|
-
expect(@instance).to be_instance_of(DockGeniusApiRubyClient::CustomerApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for customer_confirm
|
47
|
-
# Confirm a user registration with email verification token.
|
48
|
-
#
|
49
|
-
# @param uid
|
50
|
-
# @param token
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :redirect
|
53
|
-
# @return [nil]
|
54
|
-
describe 'customer_confirm test' do
|
55
|
-
it "should work" do
|
56
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# unit tests for customer_count
|
61
|
-
# Count instances of the model matched by where from the data source.
|
62
|
-
#
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @option opts [String] :where Criteria to match model instances
|
65
|
-
# @return [InlineResponse200]
|
66
|
-
describe 'customer_count test' do
|
67
|
-
it "should work" do
|
68
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# unit tests for customer_create
|
73
|
-
# Create a new instance of the model and persist it into the data source.
|
74
|
-
#
|
75
|
-
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [Customer] :data Model instance data
|
77
|
-
# @return [Customer]
|
78
|
-
describe 'customer_create test' do
|
79
|
-
it "should work" do
|
80
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# unit tests for customer_create_change_stream_get_customers_change_stream
|
85
|
-
# Create a change stream.
|
86
|
-
#
|
87
|
-
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :options
|
89
|
-
# @return [File]
|
90
|
-
describe 'customer_create_change_stream_get_customers_change_stream test' do
|
91
|
-
it "should work" do
|
92
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
# unit tests for customer_create_change_stream_post_customers_change_stream
|
97
|
-
# Create a change stream.
|
98
|
-
#
|
99
|
-
# @param [Hash] opts the optional parameters
|
100
|
-
# @option opts [String] :options
|
101
|
-
# @return [File]
|
102
|
-
describe 'customer_create_change_stream_post_customers_change_stream test' do
|
103
|
-
it "should work" do
|
104
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
# unit tests for customer_delete_by_id
|
109
|
-
# Delete a model instance by {{id}} from the data source.
|
110
|
-
#
|
111
|
-
# @param id Model id
|
112
|
-
# @param [Hash] opts the optional parameters
|
113
|
-
# @return [Object]
|
114
|
-
describe 'customer_delete_by_id test' do
|
115
|
-
it "should work" do
|
116
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
# unit tests for customer_exists_get_customersid_exists
|
121
|
-
# Check whether a model instance exists in the data source.
|
122
|
-
#
|
123
|
-
# @param id Model id
|
124
|
-
# @param [Hash] opts the optional parameters
|
125
|
-
# @return [InlineResponse2002]
|
126
|
-
describe 'customer_exists_get_customersid_exists test' do
|
127
|
-
it "should work" do
|
128
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
# unit tests for customer_exists_head_customersid
|
133
|
-
# Check whether a model instance exists in the data source.
|
134
|
-
#
|
135
|
-
# @param id Model id
|
136
|
-
# @param [Hash] opts the optional parameters
|
137
|
-
# @return [InlineResponse2002]
|
138
|
-
describe 'customer_exists_head_customersid test' do
|
139
|
-
it "should work" do
|
140
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
# unit tests for customer_find
|
145
|
-
# Find all instances of the model matched by filter from the data source.
|
146
|
-
#
|
147
|
-
# @param [Hash] opts the optional parameters
|
148
|
-
# @option opts [String] :filter Filter defining fields, where, include, order, offset, and limit
|
149
|
-
# @return [Array<Customer>]
|
150
|
-
describe 'customer_find test' do
|
151
|
-
it "should work" do
|
152
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
|
-
# unit tests for customer_find_by_id
|
157
|
-
# Find a model instance by {{id}} from the data source.
|
158
|
-
#
|
159
|
-
# @param id Model id
|
160
|
-
# @param [Hash] opts the optional parameters
|
161
|
-
# @option opts [String] :filter Filter defining fields and include
|
162
|
-
# @return [Customer]
|
163
|
-
describe 'customer_find_by_id test' do
|
164
|
-
it "should work" do
|
165
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
# unit tests for customer_find_one
|
170
|
-
# Find first instance of the model matched by filter from the data source.
|
171
|
-
#
|
172
|
-
# @param [Hash] opts the optional parameters
|
173
|
-
# @option opts [String] :filter Filter defining fields, where, include, order, offset, and limit
|
174
|
-
# @return [Customer]
|
175
|
-
describe 'customer_find_one test' do
|
176
|
-
it "should work" do
|
177
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
178
|
-
end
|
179
|
-
end
|
180
|
-
|
181
|
-
# unit tests for customer_login
|
182
|
-
# Login a user with username/email and password.
|
183
|
-
#
|
184
|
-
# @param credentials
|
185
|
-
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :include Related objects to include in the response. See the description of return value for more details.
|
187
|
-
# @return [Object]
|
188
|
-
describe 'customer_login test' do
|
189
|
-
it "should work" do
|
190
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
# unit tests for customer_logout
|
195
|
-
# Logout a user with access token.
|
196
|
-
#
|
197
|
-
# @param [Hash] opts the optional parameters
|
198
|
-
# @return [nil]
|
199
|
-
describe 'customer_logout test' do
|
200
|
-
it "should work" do
|
201
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
|
-
# unit tests for customer_prototype_count_access_tokens
|
206
|
-
# Counts accessTokens of Customer.
|
207
|
-
#
|
208
|
-
# @param id User id
|
209
|
-
# @param [Hash] opts the optional parameters
|
210
|
-
# @option opts [String] :where Criteria to match model instances
|
211
|
-
# @return [InlineResponse200]
|
212
|
-
describe 'customer_prototype_count_access_tokens test' do
|
213
|
-
it "should work" do
|
214
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
|
-
# unit tests for customer_prototype_count_emails
|
219
|
-
# Counts emails of Customer.
|
220
|
-
#
|
221
|
-
# @param id User id
|
222
|
-
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [String] :where Criteria to match model instances
|
224
|
-
# @return [InlineResponse200]
|
225
|
-
describe 'customer_prototype_count_emails test' do
|
226
|
-
it "should work" do
|
227
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
# unit tests for customer_prototype_create_access_tokens
|
232
|
-
# Creates a new instance in accessTokens of this model.
|
233
|
-
#
|
234
|
-
# @param id User id
|
235
|
-
# @param [Hash] opts the optional parameters
|
236
|
-
# @option opts [AccessToken] :data
|
237
|
-
# @return [AccessToken]
|
238
|
-
describe 'customer_prototype_create_access_tokens test' do
|
239
|
-
it "should work" do
|
240
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
244
|
-
# unit tests for customer_prototype_create_address
|
245
|
-
# Creates a new instance in address of this model.
|
246
|
-
#
|
247
|
-
# @param id User id
|
248
|
-
# @param [Hash] opts the optional parameters
|
249
|
-
# @option opts [Address] :data
|
250
|
-
# @return [Address]
|
251
|
-
describe 'customer_prototype_create_address test' do
|
252
|
-
it "should work" do
|
253
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
# unit tests for customer_prototype_create_emails
|
258
|
-
# Creates a new instance in emails of this model.
|
259
|
-
#
|
260
|
-
# @param id User id
|
261
|
-
# @param [Hash] opts the optional parameters
|
262
|
-
# @option opts [EmailAddress] :data
|
263
|
-
# @return [EmailAddress]
|
264
|
-
describe 'customer_prototype_create_emails test' do
|
265
|
-
it "should work" do
|
266
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
267
|
-
end
|
268
|
-
end
|
269
|
-
|
270
|
-
# unit tests for customer_prototype_delete_access_tokens
|
271
|
-
# Deletes all accessTokens of this model.
|
272
|
-
#
|
273
|
-
# @param id User id
|
274
|
-
# @param [Hash] opts the optional parameters
|
275
|
-
# @return [nil]
|
276
|
-
describe 'customer_prototype_delete_access_tokens test' do
|
277
|
-
it "should work" do
|
278
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
# unit tests for customer_prototype_delete_emails
|
283
|
-
# Deletes all emails of this model.
|
284
|
-
#
|
285
|
-
# @param id User id
|
286
|
-
# @param [Hash] opts the optional parameters
|
287
|
-
# @return [nil]
|
288
|
-
describe 'customer_prototype_delete_emails test' do
|
289
|
-
it "should work" do
|
290
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
# unit tests for customer_prototype_destroy_address
|
295
|
-
# Deletes address of this model.
|
296
|
-
#
|
297
|
-
# @param id User id
|
298
|
-
# @param [Hash] opts the optional parameters
|
299
|
-
# @return [nil]
|
300
|
-
describe 'customer_prototype_destroy_address test' do
|
301
|
-
it "should work" do
|
302
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
# unit tests for customer_prototype_destroy_by_id_access_tokens
|
307
|
-
# Delete a related item by id for accessTokens.
|
308
|
-
#
|
309
|
-
# @param fk Foreign key for accessTokens
|
310
|
-
# @param id User id
|
311
|
-
# @param [Hash] opts the optional parameters
|
312
|
-
# @return [nil]
|
313
|
-
describe 'customer_prototype_destroy_by_id_access_tokens test' do
|
314
|
-
it "should work" do
|
315
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
316
|
-
end
|
317
|
-
end
|
318
|
-
|
319
|
-
# unit tests for customer_prototype_destroy_by_id_emails
|
320
|
-
# Delete a related item by id for emails.
|
321
|
-
#
|
322
|
-
# @param fk Foreign key for emails
|
323
|
-
# @param id User id
|
324
|
-
# @param [Hash] opts the optional parameters
|
325
|
-
# @return [nil]
|
326
|
-
describe 'customer_prototype_destroy_by_id_emails test' do
|
327
|
-
it "should work" do
|
328
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
# unit tests for customer_prototype_find_by_id_access_tokens
|
333
|
-
# Find a related item by id for accessTokens.
|
334
|
-
#
|
335
|
-
# @param fk Foreign key for accessTokens
|
336
|
-
# @param id User id
|
337
|
-
# @param [Hash] opts the optional parameters
|
338
|
-
# @return [AccessToken]
|
339
|
-
describe 'customer_prototype_find_by_id_access_tokens test' do
|
340
|
-
it "should work" do
|
341
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
342
|
-
end
|
343
|
-
end
|
344
|
-
|
345
|
-
# unit tests for customer_prototype_find_by_id_emails
|
346
|
-
# Find a related item by id for emails.
|
347
|
-
#
|
348
|
-
# @param fk Foreign key for emails
|
349
|
-
# @param id User id
|
350
|
-
# @param [Hash] opts the optional parameters
|
351
|
-
# @return [EmailAddress]
|
352
|
-
describe 'customer_prototype_find_by_id_emails test' do
|
353
|
-
it "should work" do
|
354
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
355
|
-
end
|
356
|
-
end
|
357
|
-
|
358
|
-
# unit tests for customer_prototype_get_access_tokens
|
359
|
-
# Queries accessTokens of Customer.
|
360
|
-
#
|
361
|
-
# @param id User id
|
362
|
-
# @param [Hash] opts the optional parameters
|
363
|
-
# @option opts [String] :filter
|
364
|
-
# @return [Array<AccessToken>]
|
365
|
-
describe 'customer_prototype_get_access_tokens test' do
|
366
|
-
it "should work" do
|
367
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
368
|
-
end
|
369
|
-
end
|
370
|
-
|
371
|
-
# unit tests for customer_prototype_get_address
|
372
|
-
# Fetches hasOne relation address.
|
373
|
-
#
|
374
|
-
# @param id User id
|
375
|
-
# @param [Hash] opts the optional parameters
|
376
|
-
# @option opts [BOOLEAN] :refresh
|
377
|
-
# @return [Address]
|
378
|
-
describe 'customer_prototype_get_address test' do
|
379
|
-
it "should work" do
|
380
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
381
|
-
end
|
382
|
-
end
|
383
|
-
|
384
|
-
# unit tests for customer_prototype_get_emails
|
385
|
-
# Queries emails of Customer.
|
386
|
-
#
|
387
|
-
# @param id User id
|
388
|
-
# @param [Hash] opts the optional parameters
|
389
|
-
# @option opts [String] :filter
|
390
|
-
# @return [Array<EmailAddress>]
|
391
|
-
describe 'customer_prototype_get_emails test' do
|
392
|
-
it "should work" do
|
393
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
394
|
-
end
|
395
|
-
end
|
396
|
-
|
397
|
-
# unit tests for customer_prototype_update_address
|
398
|
-
# Update address of this model.
|
399
|
-
#
|
400
|
-
# @param id User id
|
401
|
-
# @param [Hash] opts the optional parameters
|
402
|
-
# @option opts [Address] :data
|
403
|
-
# @return [Address]
|
404
|
-
describe 'customer_prototype_update_address test' do
|
405
|
-
it "should work" do
|
406
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
|
-
# unit tests for customer_prototype_update_attributes_patch_customersid
|
411
|
-
# Patch attributes for a model instance and persist it into the data source.
|
412
|
-
#
|
413
|
-
# @param id User id
|
414
|
-
# @param [Hash] opts the optional parameters
|
415
|
-
# @option opts [Customer] :data An object of model property name/value pairs
|
416
|
-
# @return [Customer]
|
417
|
-
describe 'customer_prototype_update_attributes_patch_customersid test' do
|
418
|
-
it "should work" do
|
419
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# unit tests for customer_prototype_update_attributes_put_customersid
|
424
|
-
# Patch attributes for a model instance and persist it into the data source.
|
425
|
-
#
|
426
|
-
# @param id User id
|
427
|
-
# @param [Hash] opts the optional parameters
|
428
|
-
# @option opts [Customer] :data An object of model property name/value pairs
|
429
|
-
# @return [Customer]
|
430
|
-
describe 'customer_prototype_update_attributes_put_customersid test' do
|
431
|
-
it "should work" do
|
432
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
433
|
-
end
|
434
|
-
end
|
435
|
-
|
436
|
-
# unit tests for customer_prototype_update_by_id_access_tokens
|
437
|
-
# Update a related item by id for accessTokens.
|
438
|
-
#
|
439
|
-
# @param fk Foreign key for accessTokens
|
440
|
-
# @param id User id
|
441
|
-
# @param [Hash] opts the optional parameters
|
442
|
-
# @option opts [AccessToken] :data
|
443
|
-
# @return [AccessToken]
|
444
|
-
describe 'customer_prototype_update_by_id_access_tokens test' do
|
445
|
-
it "should work" do
|
446
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
447
|
-
end
|
448
|
-
end
|
449
|
-
|
450
|
-
# unit tests for customer_prototype_update_by_id_emails
|
451
|
-
# Update a related item by id for emails.
|
452
|
-
#
|
453
|
-
# @param fk Foreign key for emails
|
454
|
-
# @param id User id
|
455
|
-
# @param [Hash] opts the optional parameters
|
456
|
-
# @option opts [EmailAddress] :data
|
457
|
-
# @return [EmailAddress]
|
458
|
-
describe 'customer_prototype_update_by_id_emails test' do
|
459
|
-
it "should work" do
|
460
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
461
|
-
end
|
462
|
-
end
|
463
|
-
|
464
|
-
# unit tests for customer_replace_by_id
|
465
|
-
# Replace attributes for a model instance and persist it into the data source.
|
466
|
-
#
|
467
|
-
# @param id Model id
|
468
|
-
# @param [Hash] opts the optional parameters
|
469
|
-
# @option opts [Customer] :data Model instance data
|
470
|
-
# @return [Customer]
|
471
|
-
describe 'customer_replace_by_id test' do
|
472
|
-
it "should work" do
|
473
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
474
|
-
end
|
475
|
-
end
|
476
|
-
|
477
|
-
# unit tests for customer_replace_or_create
|
478
|
-
# Replace an existing model instance or insert a new one into the data source.
|
479
|
-
#
|
480
|
-
# @param [Hash] opts the optional parameters
|
481
|
-
# @option opts [Customer] :data Model instance data
|
482
|
-
# @return [Customer]
|
483
|
-
describe 'customer_replace_or_create test' do
|
484
|
-
it "should work" do
|
485
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
|
-
# unit tests for customer_reset_password
|
490
|
-
# Reset password for a user with email.
|
491
|
-
#
|
492
|
-
# @param options
|
493
|
-
# @param [Hash] opts the optional parameters
|
494
|
-
# @return [nil]
|
495
|
-
describe 'customer_reset_password test' do
|
496
|
-
it "should work" do
|
497
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
498
|
-
end
|
499
|
-
end
|
500
|
-
|
501
|
-
# unit tests for customer_update_all
|
502
|
-
# Update instances of the model matched by {{where}} from the data source.
|
503
|
-
#
|
504
|
-
# @param [Hash] opts the optional parameters
|
505
|
-
# @option opts [String] :where Criteria to match model instances
|
506
|
-
# @option opts [Customer] :data An object of model property name/value pairs
|
507
|
-
# @return [InlineResponse2001]
|
508
|
-
describe 'customer_update_all test' do
|
509
|
-
it "should work" do
|
510
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
511
|
-
end
|
512
|
-
end
|
513
|
-
|
514
|
-
# unit tests for customer_upsert_patch_customers
|
515
|
-
# Patch an existing model instance or insert a new one into the data source.
|
516
|
-
#
|
517
|
-
# @param [Hash] opts the optional parameters
|
518
|
-
# @option opts [Customer] :data Model instance data
|
519
|
-
# @return [Customer]
|
520
|
-
describe 'customer_upsert_patch_customers test' do
|
521
|
-
it "should work" do
|
522
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
523
|
-
end
|
524
|
-
end
|
525
|
-
|
526
|
-
# unit tests for customer_upsert_put_customers
|
527
|
-
# Patch an existing model instance or insert a new one into the data source.
|
528
|
-
#
|
529
|
-
# @param [Hash] opts the optional parameters
|
530
|
-
# @option opts [Customer] :data Model instance data
|
531
|
-
# @return [Customer]
|
532
|
-
describe 'customer_upsert_put_customers test' do
|
533
|
-
it "should work" do
|
534
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
535
|
-
end
|
536
|
-
end
|
537
|
-
|
538
|
-
# unit tests for customer_upsert_with_where
|
539
|
-
# Update an existing model instance or insert a new one into the data source based on the where criteria.
|
540
|
-
#
|
541
|
-
# @param [Hash] opts the optional parameters
|
542
|
-
# @option opts [String] :where Criteria to match model instances
|
543
|
-
# @option opts [Customer] :data An object of model property name/value pairs
|
544
|
-
# @return [Customer]
|
545
|
-
describe 'customer_upsert_with_where test' do
|
546
|
-
it "should work" do
|
547
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
548
|
-
end
|
549
|
-
end
|
550
|
-
|
551
|
-
end
|