Invoice

Code Climate

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

  1. Fork it ( http://github.com/gil27/invoice/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 new Pull Request