Object-ize Heroku Billing API Information and Upload to S3
Add this line to your application's Gemfile:
gem 'heroku_line_item_billing'
And then execute:
$ bundle
Or install it yourself as:
$ gem install heroku_line_item_billing
HEROKU_API_TOKEN=<API_TOKEN> \
AWS_REGION=<REGION> \
AWS_ACCESS_KEY_ID=<ID> \
AWS_SECRET_ACCESS_KEY=<KEY> \
AWS_BUCKET=<BUCKET_NAME> \
AWS_OBJECT_KEY=<FOLDER_NAME> \
TIME_PERIOD_MINUTES=<MINUTES> \
./bin/heroku_line_item_billing_upload_to_s3
- Fork it ( https://github.com/[my-github-username]/heroku_line_item_billing/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