lib/ledger_sync/domains/operation/add.rb in ledger_sync-domains-1.0.0.rc4 vs lib/ledger_sync/domains/operation/add.rb in ledger_sync-domains-1.0.0.rc6
- old
+ new
@@ -1,14 +1,13 @@
# frozen_string_literal: true
require_relative '../operation'
+require_relative 'resource'
module LedgerSync
module Domains
class Operation
- class Add
- include LedgerSync::Domains::Operation::Mixin
-
+ class Add < Resource
private
def operate
if resource.save
success