Skip to content

ryo22222/tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracker

Installation

Add this line to your application's Gemfile:

gem 'tracker'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tracker

Usage

console.

bundle exec bin/tracker trace -n 123412341231 -c sagawa
> # return json text

options -c [yamato|sagawa|yuusei|seinou]

rails etc.

def index
  str = Tracker::Base.execute no: "123412341231", company: "sagawa"
  ary = JSON.parse(str)
end

multiple search.

str = Tracker::Base.execute no: "123412341231"
ary = JSON.parse(str)

generate document.

(gem install yard)
yardoc lib/*
open lib/index.html

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tracker/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

delivery tracker gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%