Sha256: a72f5f1f05bcd17889431ab52f1a2407677a25dd5eae91e35272e27cd9835787

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

module Workarea
  decorate Payment::Transaction, with: :flow_io do
    decorated do
      field :flow_amount, type: Money, default: 0
    end

    def tender_type
      tender.payment.operation_tender_type ||  super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 app/models/workarea/payment/transaction.decorator