Sha256: 1b661b7516dc6c88a42f1c7b291ee8af318c21f249c5775ef51045d1a9bdb8cd
Contents?: true
Size: 732 Bytes
Versions: 13
Compression:
Stored size: 732 Bytes
Contents
module Dorsale module BillingMachine module SmallData class FilterForInvoices < ::Dorsale::SmallData::Filter STRATEGIES = { "customer_guid" => FilterStrategyByCustomer.new("invoices"), "bm_time_period" => FilterStrategyByTimePeriod.new("invoices"), "bm_payment_status" => FilterStrategyByPaymentStatus.new("invoices"), } def strategy key STRATEGIES[key] end def target "invoices" end def customer_guid get(__method__) end def bm_time_period get(__method__) end def bm_payment_status get(__method__) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems