lob 6.0.1 → 6.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '029576253ce8e6d30dfb1d0e095211a027264a6196d53e8b4630d027700345d6'
4
- data.tar.gz: f6932b2ead4992c154b8c36e502a60925dfe84fbd178c312bdcdab612bbd8d43
3
+ metadata.gz: b50371c1bcf1b3ea5fae887fba7233213f9c0659d27f540b4c6a34d9610dae3b
4
+ data.tar.gz: 9045098c781aca68720cc11ef3ed7c20842fa650f15486c3399f3b42a6b67265
5
5
  SHA512:
6
- metadata.gz: 5460d4ba69b98b002032d52b45031f3aafd6f233dba76a846afd67c8552d4db78a541cdeaae817a45ea0897c859dca2ab09d3a2f8f460a94f6dd0cf8c74c35da
7
- data.tar.gz: 86204f9844b445af002619c57e3016ea3378ec6becab797900913540da9e44e966e5146698aae4e1d083caa3067b27fc0420e25da83b009a60e91b3d65a11d30
6
+ metadata.gz: 5427569145b345ee0b77d126642484f74c3c982155641af4ab9d9cec033f9a80cd14fae11ed5c3d12d77fd536f7d1bb7636cd45ff50b5287cc7ae09d17792b25
7
+ data.tar.gz: 64d10bd1e7bb6bb2888b97d7de7cd4fd79c44167c3964826e7ea969d701f61be2cb202016133cba185e9aa4abd8032f57b8870e3f727b1820462bcbfc460756b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lob (6.0.1)
4
+ lob (6.0.3)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -13,35 +13,37 @@ GEM
13
13
  diff-lcs (1.5.0)
14
14
  ethon (0.16.0)
15
15
  ffi (>= 1.15.0)
16
- ffi (1.15.5)
17
- jaro_winkler (1.5.4)
16
+ ffi (1.16.3)
17
+ jaro_winkler (1.5.6)
18
18
  method_source (1.0.0)
19
- parallel (1.22.1)
20
- parser (3.2.0.0)
19
+ parallel (1.23.0)
20
+ parser (3.2.2.4)
21
21
  ast (~> 2.4.1)
22
+ racc
22
23
  pry (0.14.2)
23
24
  coderay (~> 1.1)
24
25
  method_source (~> 1.0)
25
26
  pry-byebug (3.10.1)
26
27
  byebug (~> 11.0)
27
28
  pry (>= 0.13, < 0.15)
28
- psych (5.0.2)
29
+ psych (5.1.1)
29
30
  stringio
31
+ racc (1.7.1)
30
32
  rainbow (3.1.1)
31
33
  rake (13.0.6)
32
34
  rspec (3.12.0)
33
35
  rspec-core (~> 3.12.0)
34
36
  rspec-expectations (~> 3.12.0)
35
37
  rspec-mocks (~> 3.12.0)
36
- rspec-core (3.12.0)
38
+ rspec-core (3.12.2)
37
39
  rspec-support (~> 3.12.0)
38
- rspec-expectations (3.12.2)
40
+ rspec-expectations (3.12.3)
39
41
  diff-lcs (>= 1.2.0, < 2.0)
40
42
  rspec-support (~> 3.12.0)
41
- rspec-mocks (3.12.3)
43
+ rspec-mocks (3.12.6)
42
44
  diff-lcs (>= 1.2.0, < 2.0)
43
45
  rspec-support (~> 3.12.0)
44
- rspec-support (3.12.0)
46
+ rspec-support (3.12.1)
45
47
  rubocop (0.66.0)
46
48
  jaro_winkler (~> 1.5.1)
47
49
  parallel (~> 1.10)
@@ -50,8 +52,8 @@ GEM
50
52
  rainbow (>= 2.2.2, < 4.0)
51
53
  ruby-progressbar (~> 1.7)
52
54
  unicode-display_width (>= 1.4.0, < 1.6)
53
- ruby-progressbar (1.11.0)
54
- stringio (3.0.4)
55
+ ruby-progressbar (1.13.0)
56
+ stringio (3.0.8)
55
57
  typhoeus (1.4.0)
56
58
  ethon (>= 0.9.0)
57
59
  unicode-display_width (1.5.0)
@@ -67,4 +69,4 @@ DEPENDENCIES
67
69
  rubocop (~> 0.66.0)
68
70
 
69
71
  BUNDLED WITH
70
- 2.4.6
72
+ 2.4.20
@@ -153,10 +153,10 @@ RSpec.describe "AddressesApi" do
153
153
  addressEditable = AddressEditable.new
154
154
  fakeAddresses = Array.new(2) { Address.new }
155
155
 
156
- DATE_FILTER = { gt: "2020-01-01", lt: "2020-01-31T12" };
156
+ dateFilter = { gt: "2020-01-01", lt: "2020-01-31T12" };
157
157
  fakeAddresses[0].id = "adr_fakeid"
158
158
  allow(addressApi).to receive(:list) { fakeAddresses }
159
- response = addressApi.list(date_created: DATE_FILTER)
159
+ response = addressApi.list(date_created: dateFilter)
160
160
 
161
161
  expect(response.length()).to eq(2)
162
162
  expect(response).to eq(fakeAddresses)
@@ -169,10 +169,10 @@ RSpec.describe "AddressesApi" do
169
169
  addressEditable = AddressEditable.new
170
170
  fakeAddresses = Array.new(2) { Address.new }
171
171
 
172
- METADATA = { fakeMetadata: "fakemetadata" }
172
+ metadata = { fakeMetadata: "fakemetadata" }
173
173
  fakeAddresses[0].id = "adr_fakeid"
174
174
  allow(addressApi).to receive(:list) { fakeAddresses }
175
- response = addressApi.list(metadata: METADATA)
175
+ response = addressApi.list(metadata: metadata)
176
176
 
177
177
  expect(response.length()).to eq(2)
178
178
  expect(response).to eq(fakeAddresses)
@@ -207,4 +207,4 @@ RSpec.describe "AddressesApi" do
207
207
  expect(response.deleted).to eq(true)
208
208
  end
209
209
  end
210
- end
210
+ end
@@ -155,10 +155,10 @@ RSpec.describe "BankAccountsApi" do
155
155
  bankAccountWritable = BankAccountWritable.new
156
156
  fakeBankAccounts = Array.new(2) { BankAccount.new }
157
157
 
158
- DATE_FILTER = { gt: "2020-01-01", lt: "2020-01-31T12" };
158
+ dateFilter = { gt: "2020-01-01", lt: "2020-01-31T12" };
159
159
  fakeBankAccounts[0].id = "bank_fakeId"
160
160
  allow(bankAccountApi).to receive(:list) { fakeBankAccounts }
161
- response = bankAccountApi.list(date_created: DATE_FILTER)
161
+ response = bankAccountApi.list(date_created: dateFilter)
162
162
 
163
163
  expect(response.length()).to eq(2)
164
164
  expect(bankAccountApi.list).to eq(fakeBankAccounts)
@@ -171,10 +171,10 @@ RSpec.describe "BankAccountsApi" do
171
171
  bankAccountWritable = BankAccountWritable.new
172
172
  fakeBankAccounts = Array.new(2) { BankAccount.new }
173
173
 
174
- METADATA = { fakeMetadata: "fakemetadata" }
174
+ metadata = { fakeMetadata: "fakemetadata" }
175
175
  fakeBankAccounts[0].id = "bank_fakeId"
176
176
  allow(bankAccountApi).to receive(:list) { fakeBankAccounts }
177
- response = bankAccountApi.list(metadata: METADATA)
177
+ response = bankAccountApi.list(metadata: metadata)
178
178
 
179
179
  expect(response.length()).to eq(2)
180
180
  expect(bankAccountApi.list).to eq(fakeBankAccounts)
@@ -241,4 +241,4 @@ RSpec.describe "BankAccountsApi" do
241
241
  expect(response.verified).to eq(fakeBankAccount.verified)
242
242
  end
243
243
  end
244
- end
244
+ end
@@ -217,7 +217,7 @@ RSpec.describe "SelfMailersApi" do
217
217
  response = @selfMailerApi.list(args)
218
218
 
219
219
  if metadata then
220
- expect(response.data.length()).to be(0)
220
+ expect(response.data.length()).to be(1)
221
221
  else
222
222
  expect(response.data.length()).to be > 0
223
223
  end
@@ -23,6 +23,7 @@ module Lob
23
23
  # Creates a new buckslip given information
24
24
  # @param buckslip_editable [BuckslipEditable]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Object] :front An optional file upload as either a byte array or file type.
26
27
  # @return [Buckslip]
27
28
  def create(buckslip_editable, opts = {})
28
29
  data, _status_code, _headers = buckslip_create_with_http_info(buckslip_editable, opts)
@@ -33,6 +34,7 @@ module Lob
33
34
  # Creates a new buckslip given information
34
35
  # @param buckslip_editable [BuckslipEditable]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Object] :front An optional file upload as either a byte array or file type.
36
38
  # @return [Array<(Buckslip, Integer, Hash)>] Buckslip data, response status code and response headers
37
39
  def buckslip_create_with_http_info(buckslip_editable, opts = {})
38
40
  if @api_client.config.debugging
@@ -47,6 +49,7 @@ module Lob
47
49
 
48
50
  # query parameters
49
51
  query_params = opts[:query_params] || {}
52
+ query_params[:'front'] = opts[:'front'] if !opts[:'front'].nil?
50
53
 
51
54
  # header parameters
52
55
  header_params = opts[:header_params] || {}
@@ -92,6 +92,7 @@ module Lob
92
92
  # @param letter_editable [LetterEditable]
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @option opts [String] :idempotency_key A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our [implementation guide](https://www.lob.com/guides#idempotent_request).
95
+ # @option opts [Object] :file An optional file upload as either a byte array or file type.
95
96
  # @return [Letter]
96
97
  def create(letter_editable, opts = {})
97
98
  data, _status_code, _headers = letter_create_with_http_info(letter_editable, opts)
@@ -103,6 +104,7 @@ module Lob
103
104
  # @param letter_editable [LetterEditable]
104
105
  # @param [Hash] opts the optional parameters
105
106
  # @option opts [String] :idempotency_key A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our [implementation guide](https://www.lob.com/guides#idempotent_request).
107
+ # @option opts [Object] :file An optional file upload as either a byte array or file type.
106
108
  # @return [Array<(Letter, Integer, Hash)>] Letter data, response status code and response headers
107
109
  def letter_create_with_http_info(letter_editable, opts = {})
108
110
  if @api_client.config.debugging
@@ -121,6 +123,7 @@ module Lob
121
123
 
122
124
  # query parameters
123
125
  query_params = opts[:query_params] || {}
126
+ query_params[:'file'] = opts[:'file'] if !opts[:'file'].nil?
124
127
 
125
128
  # header parameters
126
129
  header_params = opts[:header_params] || {}
@@ -98,17 +98,85 @@ module Lob
98
98
  return data, status_code, headers
99
99
  end
100
100
 
101
- # create_upload
101
+ # get
102
+ # Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
103
+ # @param upl_id [String] id of the upload
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [Upload]
106
+ def get(upl_id, opts = {})
107
+ data, _status_code, _headers = get_with_http_info(upl_id, opts)
108
+ data
109
+ end
110
+
111
+ # get
112
+ # Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
113
+ # @param upl_id [String] id of the upload
114
+ # @param [Hash] opts the optional parameters
115
+ # @return [Array<(Upload, Integer, Hash)>] Upload data, response status code and response headers
116
+ def get_with_http_info(upl_id, opts = {})
117
+ if @api_client.config.debugging
118
+ @api_client.config.logger.debug 'Calling API: UploadsApi.get ...'
119
+ end
120
+ # verify the required parameter 'upl_id' is set
121
+ if @api_client.config.client_side_validation && upl_id.nil?
122
+ fail ArgumentError, "Missing the required parameter 'upl_id' when calling UploadsApi.get"
123
+ end
124
+ pattern = Regexp.new(/^upl_[a-zA-Z0-9]+$/)
125
+ if @api_client.config.client_side_validation && upl_id !~ pattern
126
+ fail ArgumentError, "invalid value for 'upl_id' when calling UploadsApi.get, must conform to the pattern #{pattern}."
127
+ end
128
+
129
+ # resource path
130
+ local_var_path = '/uploads/{upl_id}'.sub('{' + 'upl_id' + '}', CGI.escape(upl_id.to_s))
131
+
132
+ # query parameters
133
+ query_params = opts[:query_params] || {}
134
+
135
+ # header parameters
136
+ header_params = opts[:header_params] || {}
137
+ # HTTP header 'Accept' (if needed)
138
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
139
+
140
+ # form parameters
141
+ form_params = opts[:form_params] || {}
142
+
143
+ # http body (model)
144
+ post_body = opts[:debug_body]
145
+
146
+ # return_type
147
+ return_type = opts[:debug_return_type] || 'Upload'
148
+
149
+ # auth_names
150
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
151
+
152
+ new_options = opts.merge(
153
+ :operation => :"UploadsApi.get",
154
+ :header_params => header_params,
155
+ :query_params => query_params,
156
+ :form_params => form_params,
157
+ :body => post_body,
158
+ :auth_names => auth_names,
159
+ :return_type => return_type
160
+ )
161
+
162
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
163
+ if @api_client.config.debugging
164
+ @api_client.config.logger.debug "API called: UploadsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
165
+ end
166
+ return data, status_code, headers
167
+ end
168
+
169
+ # create
102
170
  # Creates a new upload with the provided properties.
103
171
  # @param upload_writable [UploadWritable]
104
172
  # @param [Hash] opts the optional parameters
105
173
  # @return [Upload]
106
- def create_upload(upload_writable, opts = {})
174
+ def create(upload_writable, opts = {})
107
175
  data, _status_code, _headers = upload_create_with_http_info(upload_writable, opts)
108
176
  data
109
177
  end
110
178
 
111
- # create_upload
179
+ # create
112
180
  # Creates a new upload with the provided properties.
113
181
  # @param upload_writable [UploadWritable]
114
182
  # @param [Hash] opts the optional parameters
@@ -166,17 +234,17 @@ module Lob
166
234
  return data, status_code, headers
167
235
  end
168
236
 
169
- # delete_upload
237
+ # delete
170
238
  # Delete an existing upload. You need only supply the unique identifier that was returned upon upload creation.
171
239
  # @param upl_id [String] id of the upload
172
240
  # @param [Hash] opts the optional parameters
173
241
  # @return [nil]
174
- def delete_upload(upl_id, opts = {})
242
+ def delete(upl_id, opts = {})
175
243
  upload_delete_with_http_info(upl_id, opts)
176
244
  nil
177
245
  end
178
246
 
179
- # delete_upload
247
+ # delete
180
248
  # Delete an existing upload. You need only supply the unique identifier that was returned upon upload creation.
181
249
  # @param upl_id [String] id of the upload
182
250
  # @param [Hash] opts the optional parameters
@@ -389,86 +457,18 @@ module Lob
389
457
  return data, status_code, headers
390
458
  end
391
459
 
392
- # get_upload
393
- # Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
394
- # @param upl_id [String] id of the upload
395
- # @param [Hash] opts the optional parameters
396
- # @return [Upload]
397
- def get_upload(upl_id, opts = {})
398
- data, _status_code, _headers = upload_retrieve_with_http_info(upl_id, opts)
399
- data
400
- end
401
-
402
- # get_upload
403
- # Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
404
- # @param upl_id [String] id of the upload
405
- # @param [Hash] opts the optional parameters
406
- # @return [Array<(Upload, Integer, Hash)>] Upload data, response status code and response headers
407
- def upload_retrieve_with_http_info(upl_id, opts = {})
408
- if @api_client.config.debugging
409
- @api_client.config.logger.debug 'Calling API: UploadsApi.upload_retrieve ...'
410
- end
411
- # verify the required parameter 'upl_id' is set
412
- if @api_client.config.client_side_validation && upl_id.nil?
413
- fail ArgumentError, "Missing the required parameter 'upl_id' when calling UploadsApi.upload_retrieve"
414
- end
415
- pattern = Regexp.new(/^upl_[a-zA-Z0-9]+$/)
416
- if @api_client.config.client_side_validation && upl_id !~ pattern
417
- fail ArgumentError, "invalid value for 'upl_id' when calling UploadsApi.upload_retrieve, must conform to the pattern #{pattern}."
418
- end
419
-
420
- # resource path
421
- local_var_path = '/uploads/{upl_id}'.sub('{' + 'upl_id' + '}', CGI.escape(upl_id.to_s))
422
-
423
- # query parameters
424
- query_params = opts[:query_params] || {}
425
-
426
- # header parameters
427
- header_params = opts[:header_params] || {}
428
- # HTTP header 'Accept' (if needed)
429
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
430
-
431
- # form parameters
432
- form_params = opts[:form_params] || {}
433
-
434
- # http body (model)
435
- post_body = opts[:debug_body]
436
-
437
- # return_type
438
- return_type = opts[:debug_return_type] || 'Upload'
439
-
440
- # auth_names
441
- auth_names = opts[:debug_auth_names] || ['basicAuth']
442
-
443
- new_options = opts.merge(
444
- :operation => :"UploadsApi.upload_retrieve",
445
- :header_params => header_params,
446
- :query_params => query_params,
447
- :form_params => form_params,
448
- :body => post_body,
449
- :auth_names => auth_names,
450
- :return_type => return_type
451
- )
452
-
453
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
454
- if @api_client.config.debugging
455
- @api_client.config.logger.debug "API called: UploadsApi#upload_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
456
- end
457
- return data, status_code, headers
458
- end
459
-
460
- # update_upload
460
+ # update
461
461
  # Update the details of an existing upload. You need only supply the unique identifier that was returned upon upload creation.
462
462
  # @param upl_id [String] id of the upload
463
463
  # @param upload_updatable [UploadUpdatable]
464
464
  # @param [Hash] opts the optional parameters
465
465
  # @return [Upload]
466
- def update_upload(upl_id, upload_updatable, opts = {})
466
+ def update(upl_id, upload_updatable, opts = {})
467
467
  data, _status_code, _headers = upload_update_with_http_info(upl_id, upload_updatable, opts)
468
468
  data
469
469
  end
470
470
 
471
- # update_upload
471
+ # update
472
472
  # Update the details of an existing upload. You need only supply the unique identifier that was returned upon upload creation.
473
473
  # @param upl_id [String] id of the upload
474
474
  # @param upload_updatable [UploadUpdatable]
@@ -536,17 +536,17 @@ module Lob
536
536
  return data, status_code, headers
537
537
  end
538
538
 
539
- # list_upload
539
+ # list
540
540
  # Returns a list of your uploads. Optionally, filter uploads by campaign.
541
541
  # @param [Hash] opts the optional parameters
542
542
  # @option opts [String] :campaign_id id of the campaign
543
543
  # @return [Array<Upload>]
544
- def list_upload(opts = {})
544
+ def list(opts = {})
545
545
  data, _status_code, _headers = uploads_list_with_http_info(opts)
546
546
  data
547
547
  end
548
548
 
549
- # list_upload
549
+ # list
550
550
  # Returns a list of your uploads. Optionally, filter uploads by campaign.
551
551
  # @param [Hash] opts the optional parameters
552
552
  # @option opts [String] :campaign_id id of the campaign
File without changes
File without changes
File without changes
File without changes
@@ -18,7 +18,7 @@ module Lob
18
18
  # non-Certified postcards, self mailers, letters, and checks
19
19
  attr_accessor :type
20
20
 
21
- # Name of tracking event (for normal postcards, self mailers, letters, and checks): * `In Transit` - The mailpiece is being processed at the entry/origin facility. * `In Local Area` - The mailpiece is being processed at the destination facility. * `Processed for Delivery` - The mailpiece has been greenlit for delivery at the recipient's nearest postal facility. The mailpiece should reach the mailbox within 1 business day of this tracking event. * `Re-Routed` - The mailpiece is re-routed due to recipient change of address, address errors, or USPS relabeling of barcode/ID tag area. * `Returned to Sender` - The mailpiece is being returned to sender due to barcode, ID tag area, or address errors. * `Mailed` - The mailpiece has been handed off to and accepted by USPS and is en route. [More about Mailed.](https://support.lob.com/hc/en-us/articles/360001724400-What-does-a-Mailed-tracking-event-mean-) Note this data is only available in Enterprise editions of Lob. [Contact Sales](https://lob.com/support/contact#contact) if you want access to this feature. [More about tracking](https://support.lob.com/hc/en-us/articles/115000097404-Can-I-track-my-mail-)
21
+ # Name of tracking event (for normal postcards, self mailers, letters, and checks): * `Mailed` - The mailpiece has been handed off to and accepted by USPS and is en route. <a href=\"https://help.lob.com/print-and-mail/getting-data-and-results/tracking-your-mail#mailed-tracking-events-4\" target=\"_blank\">More about Mailed.</a> Note this data is only available in Enterprise editions of Lob. <a href=\"https://lob.com/support/contact#contact\" target=\"_blank\">Contact Sales</a> if you want access to this feature. * `In Transit` - The mailpiece is being processed at the entry/origin facility. * `In Local Area` - The mailpiece is being processed at the destination facility. * `Processed for Delivery` - The mailpiece has been greenlit for delivery at the recipient's nearest postal facility. The mailpiece should reach the mailbox within 1 business day of this tracking event. * `Delivered` - The mail piece has been delivered to the recipients address. The final scan is generated when the mail carrier's GPS unit leaves the delivery area. * `Re-Routed` - The mailpiece is re-routed due to recipient change of address, address errors, or USPS relabeling of barcode/ID tag area. * `Returned to Sender` - The mailpiece is being returned to sender due to barcode, ID tag area, or address errors. * `International Exit` - The mail piece has been processed to ship to a destination abroad. This is typically the last scan a US-originated international mail piece will receive from the USPS. [More about tracking](https://support.lob.com/hc/en-us/articles/115000097404-Can-I-track-my-mail-)
22
22
  attr_accessor :name
23
23
 
24
24
  # Will be `null` for `type=normal` events
@@ -187,7 +187,7 @@ module Lob
187
187
  type_validator = EnumAttributeValidator.new('String', ["normal"])
188
188
  return false unless type_validator.valid?(@type)
189
189
  return false if @name.nil?
190
- name_validator = EnumAttributeValidator.new('String', ["In Transit", "In Local Area", "Processed for Delivery", "Re-Routed", "Returned to Sender", "Mailed"])
190
+ name_validator = EnumAttributeValidator.new('String', ["Mailed", "In Transit", "In Local Area", "Processed for Delivery", "Delivered", "Re-Routed", "Returned to Sender", "International Exit"])
191
191
  return false unless name_validator.valid?(@name)
192
192
  details_validator = EnumAttributeValidator.new('Object', ["null"])
193
193
  return false unless details_validator.valid?(@details)
@@ -210,7 +210,7 @@ module Lob
210
210
  # Custom attribute writer method checking allowed values (enum).
211
211
  # @param [Object] name Object to be assigned
212
212
  def name=(name)
213
- validator = EnumAttributeValidator.new('String', ["In Transit", "In Local Area", "Processed for Delivery", "Re-Routed", "Returned to Sender", "Mailed"])
213
+ validator = EnumAttributeValidator.new('String', ["Mailed", "In Transit", "In Local Area", "Processed for Delivery", "Delivered", "Re-Routed", "Returned to Sender", "International Exit"])
214
214
  unless validator.valid?(name)
215
215
  fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
216
216
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1
11
11
  =end
12
12
 
13
13
  module Lob
14
- VERSION = '6.0.1'
14
+ VERSION = '6.0.3'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lob
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -496,28 +496,28 @@ signing_key:
496
496
  specification_version: 4
497
497
  summary: Ruby wrapper for Lob.com API with ActiveRecord-style syntax
498
498
  test_files:
499
- - spec/api/reverse_geocode_lookups_api_spec.rb
500
- - spec/api/templates_api_spec.rb
501
- - spec/api/addresses_api_spec.rb
502
- - spec/api/bank_accounts_api_spec.rb
503
- - spec/api/intl_verifications_api_spec.rb
504
- - spec/api/default_api_spec.rb
505
499
  - spec/api/card_orders_api_spec.rb
500
+ - spec/api/cards_api_spec.rb
506
501
  - spec/api/creatives_api_spec.rb
507
- - spec/api/template_versions_api_spec.rb
508
- - spec/api/identity_validation_api_spec.rb
509
502
  - spec/api/uploads_api_spec.rb
510
503
  - spec/api/letters_api_spec.rb
511
- - spec/api/us_verifications_api_spec.rb
512
- - spec/api/intl_autocompletions_api_spec.rb
504
+ - spec/api/reverse_geocode_lookups_api_spec.rb
513
505
  - spec/api/checks_api_spec.rb
514
- - spec/api/billing_groups_api_spec.rb
506
+ - spec/api/identity_validation_api_spec.rb
507
+ - spec/api/postcards_api_spec.rb
508
+ - spec/api/templates_api_spec.rb
515
509
  - spec/api/zip_lookups_api_spec.rb
510
+ - spec/api/intl_autocompletions_api_spec.rb
511
+ - spec/api/intl_verifications_api_spec.rb
516
512
  - spec/api/self_mailers_api_spec.rb
517
- - spec/api/postcards_api_spec.rb
518
- - spec/api/campaigns_api_spec.rb
513
+ - spec/api/addresses_api_spec.rb
519
514
  - spec/api/us_autocompletions_api_spec.rb
520
- - spec/api/cards_api_spec.rb
515
+ - spec/api/us_verifications_api_spec.rb
516
+ - spec/api/bank_accounts_api_spec.rb
517
+ - spec/api/template_versions_api_spec.rb
518
+ - spec/api/default_api_spec.rb
519
+ - spec/api/campaigns_api_spec.rb
520
+ - spec/api/billing_groups_api_spec.rb
521
521
  - spec/api_client_spec.rb
522
522
  - spec/configuration_spec.rb
523
523
  - spec/spec_helper.rb