Class: Ecoportal::API::GraphQL::Error::ValidationErrors
- Inherits:
-
Logic::BaseModel
- Object
- Common::Content::DoubleModel
- Common::GraphQL::Model
- Logic::BaseModel
- Ecoportal::API::GraphQL::Error::ValidationErrors
- Includes:
- Enumerable
- Defined in:
- lib/ecoportal/api/graphql/error/validation_errors.rb
Constant Summary
Constants included from Common::GraphQL::Model::Diffable
Common::GraphQL::Model::Diffable::DIFF_CLASS
Instance Method Summary collapse
Methods included from Concerns::SnakeCamelAccess
#method_missing, #respond_to_missing?
Methods included from Common::GraphQL::Model::AsInput
Methods included from Common::GraphQL::Model::Diffable
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess
Instance Method Details
#any? ⇒ Boolean
15 16 17 |
# File 'lib/ecoportal/api/graphql/error/validation_errors.rb', line 15 def any? !empty? end |
#each(&block) ⇒ Object
19 20 21 22 23 |
# File 'lib/ecoportal/api/graphql/error/validation_errors.rb', line 19 def each(&block) return to_enum(:each) unless block fullMessages.each(&block) end |
#empty? ⇒ Boolean
11 12 13 |
# File 'lib/ecoportal/api/graphql/error/validation_errors.rb', line 11 def empty? count < 1 end |