Class: RSpec::GraphQLResponse::Validators::ValidationRunner
- Inherits:
-
Object
- Object
- RSpec::GraphQLResponse::Validators::ValidationRunner
- Defined in:
- lib/rspec/graphql_response/validators/validation_runner.rb
Instance Attribute Summary collapse
-
#validator ⇒ Object
readonly
Returns the value of attribute validator.
Instance Method Summary collapse
-
#initialize(validator) ⇒ ValidationRunner
constructor
A new instance of ValidationRunner.
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
#validator ⇒ Object (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 |