Sha256: 0bbf40a6c74987e4581928004ff29271559ae0cbd1ce1d7ea13a7b478828db7e
Contents?: true
Size: 462 Bytes
Versions: 11
Compression:
Stored size: 462 Bytes
Contents
module Neo4j::Server class Neo4jServerEndpoint def initialize(params = {}) @params = params end def merged_options(options) options.merge!(@params) end def get(url, options={}) HTTParty.get(url, merged_options(options)) end def post(url, options={}) HTTParty.post(url, merged_options(options)) end def delete(url, options={}) HTTParty.delete(url, merged_options(options)) end end end
Version data entries
11 entries across 11 versions & 1 rubygems