lib/ledger_sync/adaptors/netsuite/operation.rb in ledger_sync-1.3.2 vs lib/ledger_sync/adaptors/netsuite/operation.rb in ledger_sync-1.3.3
- old
+ new
@@ -9,15 +9,9 @@
base.include Adaptors::Operation::Mixin
base.include InstanceMethods # To ensure these override parent methods
end
module InstanceMethods
- def ledger_deserializer
- @ledger_deserializer ||= begin
- modules = self.class.name.split('::Operations::').first
- Object.const_get("#{modules}::LedgerDeserializer").new(resource: resource)
- end
- end
end
end
end
end
end