Sha256: af9c6ca2f03fc18a8345f3bedf4cd1617c8888456ff40615bcdeda7d64a51555
Contents?: true
Size: 696 Bytes
Versions: 4
Compression:
Stored size: 696 Bytes
Contents
module Workarea module Listrak class BogusDataApi class ProxyClient attr_reader :client_name, :client def initialize(client_name, client) @client_name = client_name @client = client end def method_missing(method, *args) if client.respond_to?(method) if BogusDataApi.store_requests BogusDataApi.requests[client_name][method] << args end client.send(method, *args) else super end end def respond_to_missing?(method, include_all = false) client.respond_to?(method) || super end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems