Class: Ecoportal::API::GraphQL::Payload::LocationStructure::ApplyCommands
- Inherits:
-
Base::Model
- Object
- Common::Content::DoubleModel
- Common::GraphQL::Model
- Base::Model
- Ecoportal::API::GraphQL::Payload::LocationStructure::ApplyCommands
- Defined in:
- lib/ecoportal/api/graphql/payload/location_structure/apply_commands.rb
Instance Method Summary collapse
Methods included from Common::GraphQL::Model::AsInput
Methods included from Common::GraphQL::Model::Diffable
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 |