Sha256: 0ba0fe8d87d6b22bf8cd34d12d0b384b2346c17c1cde84747ec30ead6c1a3987
Contents?: true
Size: 522 Bytes
Versions: 24
Compression:
Stored size: 522 Bytes
Contents
module Dorsale module BillingMachine module SmallData class FilterForInvoices < ::Dorsale::SmallData::Filter STRATEGIES = { 'customer_guid' => FilterStrategyByCustomer.new('invoices'), 'time_period' => FilterStrategyByTimePeriod.new('invoices'), 'payment_status' => FilterStrategyByPaymentStatus.new('invoices'), } def strategy key STRATEGIES[key] end def target 'invoices' end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems