Class: Ecoportal::API::GraphQL::Payload::LocationStructure::ApplyCommands
- Inherits:
-
Base::Model
show all
- Defined in:
- lib/ecoportal/api/graphql/payload/location_structure/apply_commands.rb
Constant Summary
Common::GraphQL::Model::Diffable::DIFF_CLASS
Instance Method Summary
collapse
#as_input
#as_update, #dirty?
Instance Method Details
#errors? ⇒ Boolean
19
20
21
|
# File 'lib/ecoportal/api/graphql/payload/location_structure/apply_commands.rb', line 19
def errors?
errors && !errors.empty?
end
|
#success? ⇒ Boolean
15
16
17
|
# File 'lib/ecoportal/api/graphql/payload/location_structure/apply_commands.rb', line 15
def success?
!errors?
end
|