Invoice
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'flexa-aws-invoice'
And then execute:
$ bundle
Or install it yourself as:
$ gem install flexa-aws-invoice
Usage
# csv = Flexa::Invoice.new('csv.csv', 'aws user')
csv = Flexa::Invoice.new('amazon_csv_file.csv', 'Flexait')
csv.amazonec2.snapshots.total_price # => 12.10
csv.amazonec2.snapshots.count # => 2
csv.amazonsns.total_price # => 0.1
Contributing
- Fork it ( http://github.com/gil27/invoice/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 new Pull Request