Method: Dropbox::Sign::SubSigningOptions#valid?

Defined in:
lib/dropbox-sign/models/sub_signing_options.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



185
186
187
188
189
190
# File 'lib/dropbox-sign/models/sub_signing_options.rb', line 185

def valid?
  return false if @default_type.nil?
  default_type_validator = EnumAttributeValidator.new('String', ["draw", "phone", "type", "upload"])
  return false unless default_type_validator.valid?(@default_type)
  true
end