class GcDatastore::RemoteRpc
Public Class Methods
new(client, options)
click to toggle source
# File lib/gc_datastore/remote_rpc.rb, line 3 def initialize(client, options) @dataset_id = options[:dataset_id] @client = client end
Public Instance Methods
call(method, body_object)
click to toggle source
# File lib/gc_datastore/remote_rpc.rb, line 8 def call(method, body_object) @client.execute( :api_method => method, :parameters => {:datasetId => @dataset_id}, :body_object => body_object) end