Add this line to your application's Gemfile:
gem 'tracker'And then execute:
$ bundle
Or install it yourself as:
$ gem install tracker
console.
bundle exec bin/tracker trace -n 123412341231 -c sagawa
> # return json textoptions -c [yamato|sagawa|yuusei|seinou]
rails etc.
def index
str = Tracker::Base.execute no: "123412341231", company: "sagawa"
ary = JSON.parse(str)
endmultiple search.
str = Tracker::Base.execute no: "123412341231"
ary = JSON.parse(str)generate document.
(gem install yard)
yardoc lib/*
open lib/index.html- Fork it ( https://github.com/[my-github-username]/tracker/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request