module Neography::Rest::Extensions
Public Instance Methods
get_extension(path)
click to toggle source
# File lib/neography/rest/extensions.rb, line 6 def get_extension(path) @connection.get(path) end
post_extension(path, body = {}, headers = nil)
click to toggle source
# File lib/neography/rest/extensions.rb, line 10 def post_extension(path, body = {}, headers = nil) options = { :body => headers.nil? ? body.to_json : body, :headers => headers || json_content_type.merge({'Accept' => 'application/json;stream=true'}) } @connection.post(path, options) end