Class: RSpec::GraphQLResponse::Validators::ValidationRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/graphql_response/validators/validation_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(validator) ⇒ ValidationRunner

Returns a new instance of ValidationRunner.



7
8
9
# File 'lib/rspec/graphql_response/validators/validation_runner.rb', line 7

def initialize(validator)
  @validator = validator
end

Instance Attribute Details

#validatorObject (readonly)

Returns the value of attribute validator.



5
6
7
# File 'lib/rspec/graphql_response/validators/validation_runner.rb', line 5

def validator
  @validator
end