Sha256: 8592daa335502a8e82fb9678a34fe75c76a2b4773a9b4580f99a03d369053176
Contents?: true
Size: 302 Bytes
Versions: 39
Compression:
Stored size: 302 Bytes
Contents
module Dorsale module BillingMachine module SmallData class FilterStrategyByCustomer < ::Dorsale::SmallData::FilterStrategy def do_apply query type, id = @value.split("-") query.where(customer_type: type, customer_id: id) end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems