Method: Wallee::Tax#valid?
- Defined in:
- lib/wallee-ruby-sdk/models/tax.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
79 80 81 82 83 |
# File 'lib/wallee-ruby-sdk/models/tax.rb', line 79 def valid? return false if !@title.nil? && @title.to_s.length > 40 return false if !@title.nil? && @title.to_s.length < 2 true end |