Class: GraphitiGql::Schema::ResponseShim

Inherits:
Object
  • Object
show all
Defined in:
lib/graphiti_gql/response_shim.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/graphiti_gql/response_shim.rb', line 5

def data
  @data
end

#proxyObject (readonly)

Returns the value of attribute proxy.



5
6
7
# File 'lib/graphiti_gql/response_shim.rb', line 5

def proxy
  @proxy
end