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.
196 197 198 199 |
# File 'lib/graphql/client.rb', line 196 def initialize(errors:, **kargs) @errors = errors super(**kargs) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
194 195 196 |
# File 'lib/graphql/client.rb', line 194 def errors @errors end |