-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,9 +86,9 @@ def list_invalid_properties | |
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 3.') | ||
end | ||
|
||
if !@country.nil? && @country.to_s.length < 3 | ||
invalid_properties.push('invalid value for "country", the character length must be great than or equal to 3.') | ||
end | ||
# if [email protected]? && @country.to_s.length < 3 | ||
# invalid_properties.push('invalid value for "country", the character length must be great than or equal to 3.') | ||
# end | ||
|
||
invalid_properties | ||
end | ||
|
@@ -140,9 +140,9 @@ def country=(country) | |
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 3.' | ||
end | ||
|
||
if !country.nil? && country.to_s.length < 3 | ||
fail ArgumentError, 'invalid value for "country", the character length must be great than or equal to 3.' | ||
end | ||
# if !country.nil? && country.to_s.length < 3 | ||
# fail ArgumentError, 'invalid value for "country", the character length must be great than or equal to 3.' | ||
# end | ||
|
||
@country = country | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
=end | ||
|
||
module LemonWayClient | ||
VERSION = '1.0.4' | ||
VERSION = '1.0.5' | ||
end |