Method: Akeyless::SignGPG#list_invalid_properties

Defined in:
lib/akeyless/models/sign_gpg.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/akeyless/models/sign_gpg.rb', line 133

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

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

  invalid_properties
end