Method: Printful::File#list_invalid_properties

Defined in:
lib/printful_client/models/file.rb

#list_invalid_propertiesObject

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



217
218
219
220
221
222
223
224
225
# File 'lib/printful_client/models/file.rb', line 217

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @url.nil?
    invalid_properties.push('invalid value for "url", url cannot be nil.')
  end

  invalid_properties
end