Fetch stock information
Add this line to your application's Gemfile:
gem 'cub'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cub
Cub.company(7203)
=> "トヨタ自動車"
Cub.price(7203)
=> 3275
Cub.per(7203)
=> 35.86
Cub.pbr(7203)
=> 0.97
- 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