Sha256: ef3de5344faa4eb718b6afaca694963b77d407c8ed2672c44af4e2a6f221bf1e
Contents?: true
Size: 172 Bytes
Versions: 5
Compression:
Stored size: 172 Bytes
Contents
class CreateInvoiceInteractor < Zertico::Interactor def perform(attributes) @invoice = Invoice.create(attributes) end def rollback @invoice.destroy end end
Version data entries
5 entries across 5 versions & 1 rubygems