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.
236 237 238 239 |
# File 'lib/graphql/client.rb', line 236 def initialize(errors:, **kargs) @errors = errors super(**kargs) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
234 235 236 |
# File 'lib/graphql/client.rb', line 234 def errors @errors end |