Invoicing
Switch branches/tags
Nothing to show
Pull request Compare This branch is 82 commits behind tehtorq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rvmrc
Gemfile
README.md
Rakefile
config.ru
invoicing.gemspec

README.md

Basic Usage

seller = Seller.find(3)
book = Book.find(1) # implements CostItem
decorations = {whatever_you_want: 'here'}

invoice = Invoicing::generate do
  from seller
  line_item book
  due Time.now + 7.days
  payment_reference "REF2345"
  decorate_with decorations
end