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



107
108
109
# File 'lib/tripod/sparql_client.rb', line 107

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

.replace(graph_uri, data) ⇒ Object



111
112
113
# File 'lib/tripod/sparql_client.rb', line 111

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