Class: GraphQL::Client::PartialResponse
- Inherits:
-
SuccessfulResponse
- Object
- Response
- SuccessfulResponse
- GraphQL::Client::PartialResponse
- Defined in:
- lib/graphql/client.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from SuccessfulResponse
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(errors:, **kargs) ⇒ PartialResponse
constructor
A new instance of PartialResponse.
Constructor Details
#initialize(errors:, **kargs) ⇒ PartialResponse
Returns a new instance of PartialResponse.
187 188 189 190 |
# File 'lib/graphql/client.rb', line 187 def initialize(errors:, **kargs) @errors = errors super(**kargs) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
185 186 187 |
# File 'lib/graphql/client.rb', line 185 def errors @errors end |