Class: Apia::Definitions::LookupArgumentSet
- Inherits:
-
ArgumentSet
- Object
- Apia::Definition
- ArgumentSet
- Apia::Definitions::LookupArgumentSet
- Defined in:
- lib/apia/definitions/lookup_argument_set.rb
Instance Attribute Summary collapse
-
#resolver ⇒ Object
Returns the value of attribute resolver.
Attributes inherited from ArgumentSet
Attributes inherited from Apia::Definition
#description, #id, #name, #schema
Instance Method Summary collapse
Methods inherited from ArgumentSet
Methods inherited from Apia::Definition
Constructor Details
This class inherits a constructor from Apia::Definition
Instance Attribute Details
#resolver ⇒ Object
Returns the value of attribute resolver.
10 11 12 |
# File 'lib/apia/definitions/lookup_argument_set.rb', line 10 def resolver @resolver end |
Instance Method Details
#dsl ⇒ Object
12 13 14 |
# File 'lib/apia/definitions/lookup_argument_set.rb', line 12 def dsl @dsl ||= DSLs::LookupArgumentSet.new(self) end |
#potential_errors ⇒ Object
16 17 18 |
# File 'lib/apia/definitions/lookup_argument_set.rb', line 16 def potential_errors @potential_errors ||= ErrorSet.new end |
#validate(errors) ⇒ Object
20 21 22 23 |
# File 'lib/apia/definitions/lookup_argument_set.rb', line 20 def validate(errors) super @potential_errors&.validate(errors, self) end |