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.
227 228 229 230 |
# File 'lib/graphql/client.rb', line 227 def initialize(errors:, **kargs) @errors = errors super(**kargs) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
225 226 227 |
# File 'lib/graphql/client.rb', line 225 def errors @errors end |