Rbsx
Ruby sx Wrapper
Installation
Add this line to your application's Gemfile:
gem 'rbsx'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rbsx
You need sx installed.
Usage
Configure it:
Rbsx.configure do |c|
c.sx_path = "/path/to/sx"
end
rbsx = Rbsx.new(sx_path: "/path/to_sx") # you can optionally set the path here too
rbsx.bci_fetch_last_height # 32132131
Contributing
- Fork it ( https://github.com/[my-github-username]/rbsx/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Copy
spec/config.yml.sample
tospec/config.yml
and edit as necessary. - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request