Method: Rack::RPC::Endpoint::JSONRPC::Request#to_hash

Defined in:
lib/rack/rpc/endpoint/jsonrpc.rb

#to_hashHash

Returns:

  • (Hash)


179
180
181
182
183
# File 'lib/rack/rpc/endpoint/jsonrpc.rb', line 179

def to_hash
  super.merge({
    :id => id,
  })
end