Class: Ecoportal::API::GraphQL::Error::LocationsValidationError

Inherits:
Logic::BaseModel show all
Defined in:
lib/ecoportal/api/graphql/error/locations_validation_error.rb

Constant Summary

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Instance Method Summary collapse

Methods included from Common::GraphQL::Model::AsInput

#as_input

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


10
11
12
13
14
15
# File 'lib/ecoportal/api/graphql/error/locations_validation_error.rb', line 10

def empty?
  return false unless error.nil?
  return false unless message.nil?

  property.nil?
end