lib/ledger_sync/domains/operation/find.rb in ledger_sync-domains-1.0.0.rc4 vs lib/ledger_sync/domains/operation/find.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 Find
- include LedgerSync::Domains::Operation::Mixin
-
+ class Find < Resource
class Contract < LedgerSync::Ledgers::Contract
params do
required(:id).filled(:integer)
required(:limit).value(:hash)
end