Class: Apia::Definitions::LookupArgumentSet

Inherits:
ArgumentSet show all
Defined in:
lib/apia/definitions/lookup_argument_set.rb

Instance Attribute Summary collapse

Attributes inherited from ArgumentSet

#arguments

Attributes inherited from Apia::Definition

#description, #id, #name, #schema

Instance Method Summary collapse

Methods inherited from ArgumentSet

#setup

Methods inherited from Apia::Definition

#initialize, #schema?, #setup

Constructor Details

This class inherits a constructor from Apia::Definition

Instance Attribute Details

#resolverObject

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

#dslObject



12
13
14
# File 'lib/apia/definitions/lookup_argument_set.rb', line 12

def dsl
  @dsl ||= DSLs::LookupArgumentSet.new(self)
end

#potential_errorsObject



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