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.
210 211 212 |
# File 'lib/graphql/client.rb', line 210 def initialize(extensions: nil) @extensions = extensions || {} end |
Instance Attribute Details
#extensions ⇒ Object (readonly)
Returns the value of attribute extensions.
208 209 210 |
# File 'lib/graphql/client.rb', line 208 def extensions @extensions end |