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



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

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

.replace(graph_uri, data) ⇒ Object



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

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