Method: ForestVPNCloudAPI::Project#list_invalid_properties
- Defined in:
- lib/forestvpn_cloud_api/models/project.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/forestvpn_cloud_api/models/project.rb', line 85 def list_invalid_properties invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @slug.nil? invalid_properties.push('invalid value for "slug", slug cannot be nil.') end if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end invalid_properties end |