Class: GraphQL::Client::FailedResponse
- Defined in:
- lib/graphql/client.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(errors:, **kargs) ⇒ FailedResponse
constructor
A new instance of FailedResponse.
Constructor Details
#initialize(errors:, **kargs) ⇒ FailedResponse
Returns a new instance of FailedResponse.
219 220 221 222 |
# File 'lib/graphql/client.rb', line 219 def initialize(errors:, **kargs) @errors = errors super(**kargs) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
217 218 219 |
# File 'lib/graphql/client.rb', line 217 def errors @errors end |