Method: ForestVPNCloudAPI::Project#valid?

Defined in:
lib/forestvpn_cloud_api/models/project.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



104
105
106
107
108
109
# File 'lib/forestvpn_cloud_api/models/project.rb', line 104

def valid?
  return false if @id.nil?
  return false if @slug.nil?
  return false if @name.nil?
  true
end