Module: Tripod::SparqlClient::Data

Defined in:
lib/tripod/sparql_client.rb

Defined Under Namespace

Classes: DataClient

Class Method Summary collapse

Class Method Details

.append(graph_uri, data) ⇒ Object



105
106
107
# File 'lib/tripod/sparql_client.rb', line 105

def self.append(graph_uri, data)
  DataClient.submit(graph_uri, data, :post)
end

.replace(graph_uri, data) ⇒ Object



109
110
111
# File 'lib/tripod/sparql_client.rb', line 109

def self.replace(graph_uri, data)
  DataClient.submit(graph_uri, data, :put)
end