This gem provides a dead simple way to authenticate to Treasure Data using OmniAuth.
Add this line to your application's Gemfile:
gem 'omniauth-td'use OmniAuth::Builder do
provider :td
endThe following information is provided back to you for this provider:
{
uid: 12345,
info: {
account_id: 12345,
email: 'kazuki.ohta@gmail.com'
},
credentials: {
apikey: 'YOUR_TREASURE_DATA_APIKEY'
},
extra: {}
}- 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