Sha256: 20e30dad5d068e5f1bb04e98e356c2404d56c4da89211d7b008882a00b2968ec
Contents?: true
Size: 281 Bytes
Versions: 15
Compression:
Stored size: 281 Bytes
Contents
class Kaui::InvoiceItem < KillBillClient::Model::InvoiceItem def amount_to_money Kaui::Base.to_money(amount, currency) end def self.amount_to_money(invoice_item) self.new(:amount => invoice_item.amount, :currency => invoice_item.currency).amount_to_money end end
Version data entries
15 entries across 15 versions & 1 rubygems