Class: GraphQL::Client::Response
- Inherits:
-
Object
- Object
- GraphQL::Client::Response
- Defined in:
- lib/graphql/client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#extensions ⇒ Object
readonly
Returns the value of attribute extensions.
Instance Method Summary collapse
-
#initialize(extensions: nil) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(extensions: nil) ⇒ Response
Returns a new instance of Response.
170 171 172 |
# File 'lib/graphql/client.rb', line 170 def initialize(extensions: nil) @extensions = extensions || {} end |
Instance Attribute Details
#extensions ⇒ Object (readonly)
Returns the value of attribute extensions.
168 169 170 |
# File 'lib/graphql/client.rb', line 168 def extensions @extensions end |