Class: Ecoportal::API::GraphQL::Logic::Payload

Inherits:
Base::Model show all
Defined in:
lib/ecoportal/api/graphql/logic/payload.rb

Defined Under Namespace

Classes: GenericItem

Instance Method Summary collapse

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

#as_input

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

#as_update

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/ecoportal/api/graphql/logic/payload.rb', line 20

def success?
  !errors || errors.empty?
end