Working on a test branch for implementing parameterization to the rexster REST api. For original repo, go to https://github.com/mavenik/rexster-ruby
Gem to interface Ruby applications with Rexster.
Rexster server running with at least one graph on it
Add this line to your application's Gemfile (I haven't pushed this gem yet):
gem 'rexster-ruby', :git => 'https://github.com/mavenik/rexster-ruby.git'
And then execute:
$ bundle
config/environments/development.rb
Rexster::Rest.server_instance = Rexster::Rest.new host: :localhost, port: 8182, graph: :neo4j
In some class, e.g.: app/models/rackster.rb
class Rackster
include Rexster
end
Usage:
rackster = Rackster.new
rackster.g.v(1).script("v.out('RELATION')")
This gem is still in it's initial phase and has a huge scope for improvement.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request