xero-ruby 2.2.3 → 2.2.4

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: 8b892b6d674e6943d11a8100b405315970558a0c8fdc5db0da3692a177035995
4
- data.tar.gz: d04048be7317de945571a715d935b0490995af3cc5281d75a416876bb04edcd5
3
+ metadata.gz: b6ae2e8772203dceda94efdeb03ef38bbab00e54f53aa7e68204b87a03480ee8
4
+ data.tar.gz: 519604b3420b92549fe982cc743f0754c1e95ca47e486e726da2c76d58d5d230
5
5
  SHA512:
6
- metadata.gz: bf2bc72606019cf2ce04233c6e93d9df9ed2611cc1319e8fc93b1a4d152f7c09e705a91f6e37f56899045c372687590c202cfe6dfa9949a8c0eac8d3faa92218
7
- data.tar.gz: 3514735520326ffe8348e307b84f94d8394dacb9f8ae81bfb0b6b79cc2bbe76e5ee0533437254bfb61102180aa29d58172500162be091cc028438074e736b1f7
6
+ metadata.gz: f618c256091aabab5396b445a7d0a8330eb54e02c6bf87e3ba6efc87542eaf0dff40e4071014f0412200012dc2887ee813dc8de2e27bfe19763b2f282da6500c
7
+ data.tar.gz: 4d18adaf3139ae834d9997a8150d6942d4047c2ea2b6967eb0d21ffba0af74db7aeb61e3e2809f71c9be7cd0f459c732cc68c2f5c36bd3cf25b734b57df4cbdc
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **tracking_option_id** | **String** | The Xero identifier for a tracking optione.g. ae777a87-5ef3-4fa0-a4f0-d10e1f13073a | [optional]
8
- **name** | **String** | The name of the tracking option e.g. Marketing, East (max length = 50) | [optional]
7
+ **tracking_option_id** | **String** | The Xero identifier for a tracking option e.g. ae777a87-5ef3-4fa0-a4f0-d10e1f13073a | [optional]
8
+ **name** | **String** | The name of the tracking option e.g. Marketing, East (max length = 100) | [optional]
9
9
  **status** | **String** | The status of a tracking option | [optional]
10
- **tracking_category_id** | **String** | Filter by a tracking categorye.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional]
10
+ **tracking_category_id** | **String** | Filter by a tracking category e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -17,10 +17,10 @@ module XeroRuby::Accounting
17
17
  require 'bigdecimal'
18
18
 
19
19
  class TrackingOption
20
- # The Xero identifier for a tracking optione.g. ae777a87-5ef3-4fa0-a4f0-d10e1f13073a
20
+ # The Xero identifier for a tracking option e.g. ae777a87-5ef3-4fa0-a4f0-d10e1f13073a
21
21
  attr_accessor :tracking_option_id
22
22
 
23
- # The name of the tracking option e.g. Marketing, East (max length = 50)
23
+ # The name of the tracking option e.g. Marketing, East (max length = 100)
24
24
  attr_accessor :name
25
25
 
26
26
  # The status of a tracking option
@@ -29,7 +29,7 @@ module XeroRuby::Accounting
29
29
  ARCHIVED = "ARCHIVED".freeze
30
30
  DELETED = "DELETED".freeze
31
31
 
32
- # Filter by a tracking categorye.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
32
+ # Filter by a tracking category e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
33
33
  attr_accessor :tracking_category_id
34
34
 
35
35
  class EnumAttributeValidator
@@ -110,8 +110,8 @@ module XeroRuby::Accounting
110
110
  # @return Array for valid properties with the reasons
111
111
  def list_invalid_properties
112
112
  invalid_properties = Array.new
113
- if !@name.nil? && @name.to_s.length > 50
114
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 50.')
113
+ if !@name.nil? && @name.to_s.length > 100
114
+ invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
115
115
  end
116
116
 
117
117
  invalid_properties
@@ -120,7 +120,7 @@ module XeroRuby::Accounting
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
- return false if !@name.nil? && @name.to_s.length > 50
123
+ return false if !@name.nil? && @name.to_s.length > 100
124
124
  status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "ARCHIVED", "DELETED"])
125
125
  return false unless status_validator.valid?(@status)
126
126
  true
@@ -129,8 +129,8 @@ module XeroRuby::Accounting
129
129
  # Custom attribute writer method with validation
130
130
  # @param [Object] name Value to be assigned
131
131
  def name=(name)
132
- if !name.nil? && name.to_s.length > 50
133
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 50.'
132
+ if !name.nil? && name.to_s.length > 100
133
+ fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 100.'
134
134
  end
135
135
 
136
136
  @name = name
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '2.2.3'
14
+ VERSION = '2.2.4'
15
15
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xero API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-28 00:00:00.000000000 Z
11
+ date: 2020-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -534,6 +534,7 @@ files:
534
534
  - spec/projects/models/time_entry_create_or_update_spec.rb
535
535
  - spec/projects/models/time_entry_spec.rb
536
536
  - spec/spec_helper.rb
537
+ - xero-ruby-2.2.3.gem
537
538
  - xero-ruby.gem
538
539
  - xero-ruby.gemspec
539
540
  homepage: https://developer.xero.com