Skip to content
Browse files

Added ability for server to perform http put calls

  • Loading branch information...
1 parent 3f93cb9 commit b9c4478709b4a8a09b0caba262d7b65b05d3bb49 @danny committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/rdf/sesame/server.rb
View
6 lib/rdf/sesame/server.rb
@@ -255,6 +255,12 @@ def post(path, data, headers = {}, &block) # @private
end
end
+ def put (path, data, headers = {}, &block) # @private
+ self.connection.open do
+ self.connection.put(path, data, headers, &block)
+ end
+ end
+
def delete(path, headers = {}, &block) # @private
self.connection.open do
self.connection.delete(path, headers, &block)

0 comments on commit b9c4478

Please sign in to comment.
Something went wrong with that request. Please try again.