Method: TalonOne::CreateApplicationAPIKey#list_invalid_properties

Defined in:
lib/talon_one/models/create_application_api_key.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/talon_one/models/create_application_api_key.rb', line 102

def list_invalid_properties
  invalid_properties = Array.new
  if @title.nil?
    invalid_properties.push('invalid value for "title", title cannot be nil.')
  end

  if @expires.nil?
    invalid_properties.push('invalid value for "expires", expires cannot be nil.')
  end

  invalid_properties
end