Method: TreezorClient::Body5#valid?
- Defined in:
- lib/treezor_client/models/body_5.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
129 130 131 132 133 |
# File 'lib/treezor_client/models/body_5.rb', line 129 def valid? status_validator = EnumAttributeValidator.new('String', ['VALIDATED', 'PENDING', 'CANCELED']) return false unless status_validator.valid?(@status) true end |