ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

Added :endpoint option for #update method to specify an alternative update endpoint #50

Closed bencpeters closed 10 years ago

bencpeters commented 10 years ago

This commit fixes #49

This leaves the default behavior alone, and only changes anything if someone specifies :endpoint => 'path/to/update/endpoint' for options in the #update call. If this is a widespread thing (update endpoint is different from query endpoint), I can see a strong argument for making this the default behavior.