affixapi 1.1.78 → 1.1.79

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: 41c030fe428c01f6df3a87f46750e828548aaab0e53cf5b0f27dd4ea0dc28b16
4
- data.tar.gz: 12af573766f85b181e704defd56e0ffa8f18d7bfbcc2c8cc192add8a6786cb9d
3
+ metadata.gz: 73dc9982315de6fdce9fe77523b46fa082a4f1d3005d5529157ece3da880dc4f
4
+ data.tar.gz: 98a51512451adf8e8c6c8a45ba08200e16a98bc6a923c7e5b81f2dc81a0339b1
5
5
  SHA512:
6
- metadata.gz: 7544c7444d359aea0a73cd0696e71c05b8a878755d2498375a98649f16001c3e971f265969ca5d1cf8e16047f65f12d7411bf5acdb01bcc0ecde6f555ebe0d89
7
- data.tar.gz: 77150caf070aa65a5ec893deccc34ef1dcc30cc87d85e7434c20026df4a14eca50c04018f8a06150b18370380adb9ebdc619ef33df5f48af5341d5b3be69b991
6
+ metadata.gz: 031c31679d2231d75d3a77cad35411c7420467f9e56fba4a6cfd82dea9a1e465f3dfdef30622f552bc74cbdbd5c3fe728528add4a11639724e90fd3c20c3b13e
7
+ data.tar.gz: 2b16d2f2cdf893cf4ce4ef62b1577e15ef353b4700997cdaed6075ad2317305b02b0ad03fe3064972c87482b59693175f5184895d7a6850045aeff6b4b9b32c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.78)
4
+ affixapi (1.1.79)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -90,6 +90,7 @@ module OpenapiClient
90
90
  # List of attributes with nullable: true
91
91
  def self.openapi_nullable
92
92
  Set.new([
93
+ :'run_state',
93
94
  :'run_type',
94
95
  :'start_date',
95
96
  :'end_date',
@@ -153,10 +154,6 @@ module OpenapiClient
153
154
  invalid_properties.push('invalid value for "remote_id", remote_id cannot be nil.')
154
155
  end
155
156
 
156
- if @run_state.nil?
157
- invalid_properties.push('invalid value for "run_state", run_state cannot be nil.')
158
- end
159
-
160
157
  invalid_properties
161
158
  end
162
159
 
@@ -165,10 +162,9 @@ module OpenapiClient
165
162
  def valid?
166
163
  return false if @id.nil?
167
164
  return false if @remote_id.nil?
168
- return false if @run_state.nil?
169
- run_state_validator = EnumAttributeValidator.new('String', ["paid", "pending"])
165
+ run_state_validator = EnumAttributeValidator.new('String', ["paid", "pending", "null"])
170
166
  return false unless run_state_validator.valid?(@run_state)
171
- run_type_validator = EnumAttributeValidator.new('String', ["regular", "null"])
167
+ run_type_validator = EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
172
168
  return false unless run_type_validator.valid?(@run_type)
173
169
  true
174
170
  end
@@ -176,7 +172,7 @@ module OpenapiClient
176
172
  # Custom attribute writer method checking allowed values (enum).
177
173
  # @param [Object] run_state Object to be assigned
178
174
  def run_state=(run_state)
179
- validator = EnumAttributeValidator.new('String', ["paid", "pending"])
175
+ validator = EnumAttributeValidator.new('String', ["paid", "pending", "null"])
180
176
  unless validator.valid?(run_state)
181
177
  fail ArgumentError, "invalid value for \"run_state\", must be one of #{validator.allowable_values}."
182
178
  end
@@ -186,7 +182,7 @@ module OpenapiClient
186
182
  # Custom attribute writer method checking allowed values (enum).
187
183
  # @param [Object] run_type Object to be assigned
188
184
  def run_type=(run_type)
189
- validator = EnumAttributeValidator.new('String', ["regular", "null"])
185
+ validator = EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
190
186
  unless validator.valid?(run_type)
191
187
  fail ArgumentError, "invalid value for \"run_type\", must be one of #{validator.allowable_values}."
192
188
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.78'
14
+ VERSION = '1.1.79'
15
15
  end
@@ -40,7 +40,7 @@ describe OpenapiClient::PayrunResponse do
40
40
  describe 'test attribute "run_state"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["paid", "pending"])
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["paid", "pending", "null"])
44
44
  # validator.allowable_values.each do |value|
45
45
  # expect { instance.run_state = value }.not_to raise_error
46
46
  # end
@@ -50,7 +50,7 @@ describe OpenapiClient::PayrunResponse do
50
50
  describe 'test attribute "run_type"' do
51
51
  it 'should work' do
52
52
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["regular", "null"])
53
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
54
54
  # validator.allowable_values.each do |value|
55
55
  # expect { instance.run_type = value }.not_to raise_error
56
56
  # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.78
4
+ version: 1.1.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus