Class: GraphitiGql::Schema::ResponseShim
- Inherits:
-
Object
- Object
- GraphitiGql::Schema::ResponseShim
- Defined in:
- lib/graphiti_gql/response_shim.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#proxy ⇒ Object
readonly
Returns the value of attribute proxy.
Instance Method Summary collapse
-
#initialize(data, proxy) ⇒ ResponseShim
constructor
A new instance of ResponseShim.
Constructor Details
#initialize(data, proxy) ⇒ ResponseShim
Returns a new instance of ResponseShim.
7 8 9 10 |
# File 'lib/graphiti_gql/response_shim.rb', line 7 def initialize(data, proxy) @data = data @proxy = proxy end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/graphiti_gql/response_shim.rb', line 5 def data @data end |
#proxy ⇒ Object (readonly)
Returns the value of attribute proxy.
5 6 7 |
# File 'lib/graphiti_gql/response_shim.rb', line 5 def proxy @proxy end |