Sha256: e5817565d79933eeb06aa932603835bf212f757381f852f864cb2eaf3bcfd61b
Contents?: true
Size: 228 Bytes
Versions: 8
Compression:
Stored size: 228 Bytes
Contents
class Dorsale::BillingMachine::SmallData::FilterStrategyByCustomer < ::Dorsale::SmallData::FilterStrategy def apply(query, value) type, id = value.split("-") query.where(customer_type: type, customer_id: id) end end
Version data entries
8 entries across 8 versions & 1 rubygems