Sha256: c02ded6238fb2be47e01d439862012cf372fa45fb5d12e431e1a565919ac2e91
Contents?: true
Size: 360 Bytes
Versions: 6
Compression:
Stored size: 360 Bytes
Contents
class Taxedo::Builder::Base def initialize(receipt) @receipt = receipt @content = [] end def price(amount) Taxedo::Builder::Price.price(amount, unit: @receipt.currency) end def subtotal @receipt.subtotal end def t(path) @receipt.t(path) end def taxes @receipt.taxes end def total @receipt.total end end
Version data entries
6 entries across 6 versions & 1 rubygems