Skip to content

Commit 6ac8f08

Browse files
Bump to latest version
2 parents 7e47a83 + b3f629f commit 6ac8f08

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Fortnox API Swagger
77
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
88

99
- API version: 3
10-
- Package version: 2.0.0
10+
- Package version: 2.1.0
1111
- Build package: io.swagger.codegen.languages.RubyClientCodegen
1212

1313
## Installation
@@ -23,15 +23,15 @@ gem build standout_fortnox.gemspec
2323
Then either install the gem locally:
2424

2525
```shell
26-
gem install ./standout_fortnox-2.0.0.gem
26+
gem install ./standout_fortnox-2.1.0.gem
2727
```
28-
(for development, run `gem install --dev ./standout_fortnox-2.0.0.gem` to install the development dependencies)
28+
(for development, run `gem install --dev ./standout_fortnox-2.1.0.gem` to install the development dependencies)
2929

3030
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
3131

3232
Finally add this to the Gemfile:
3333

34-
gem 'standout_fortnox', '~> 2.0.0'
34+
gem 'standout_fortnox', '~> 2.1.0'
3535

3636
### Install from Git
3737

lib/standout_fortnox/models/invoice_invoice_invoice_rows.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ def list_invalid_properties
223223
invalid_properties.push('invalid value for "article_number", the character length must be smaller than or equal to 50.')
224224
end
225225

226-
if !@description.nil? && @description.to_s.length > 50
227-
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 50.')
226+
if !@description.nil? && @description.to_s.length > 255
227+
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 255.')
228228
end
229229

230230
invalid_properties
@@ -251,8 +251,8 @@ def article_number=(article_number)
251251
# Custom attribute writer method with validation
252252
# @param [Object] description Value to be assigned
253253
def description=(description)
254-
if !description.nil? && description.to_s.length > 50
255-
fail ArgumentError, 'invalid value for "description", the character length must be smaller than or equal to 50.'
254+
if !description.nil? && description.to_s.length > 255
255+
fail ArgumentError, 'invalid value for "description", the character length must be smaller than or equal to 255.'
256256
end
257257

258258
@description = description

lib/standout_fortnox/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module StandoutFortnox
14-
VERSION = '2.0.0'
14+
VERSION = '2.1.0'
1515
end

0 commit comments

Comments
 (0)