Class: Ecoportal::API::GraphQL::Base::ValidationErrors
- Inherits:
-
Model
- Object
- Common::Content::DoubleModel
- Model
- Ecoportal::API::GraphQL::Base::ValidationErrors
show all
- Includes:
- Enumerable
- Defined in:
- lib/ecoportal/api/graphql/base/validation_errors.rb
Instance Method Summary
collapse
Methods inherited from Model
as_input, #as_input, #as_update
Instance Method Details
#each(&block) ⇒ Object
15
16
17
18
|
# File 'lib/ecoportal/api/graphql/base/validation_errors.rb', line 15
def each(&block)
return to_enum(:each) unless block
fullMessages.each(&block)
end
|
#empty? ⇒ Boolean
11
12
13
|
# File 'lib/ecoportal/api/graphql/base/validation_errors.rb', line 11
def empty?
count < 1
end
|