Sha256: 4eacc3d4248f2676eaf9f3ec0c7e84be0a39bb3b3ff013a417914dc21f2d679a
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
module Workarea module Listrak class BogusEmailApi 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 BogusEmailApi.store_requests BogusEmailApi.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