lib/ledger_sync/domains/operation/search.rb in ledger_sync-domains-1.0.0.rc4 vs lib/ledger_sync/domains/operation/search.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 Search
- include LedgerSync::Domains::Operation::Mixin
-
+ class Search < Resource
# make kaminari work with serialized results
class PaginatedResult < SimpleDelegator
attr_accessor :next_page, :last_page, :current_page, :total_pages,
:limit_value, :total_count