Sha256: 05100ee1d9aeb94bdbba57f46f175e7e4a37de4c6a1cd121cbafa8a4e7364013
Contents?: true
Size: 455 Bytes
Versions: 23
Compression:
Stored size: 455 Bytes
Contents
module XMLRPC class XMLRPC::Client attr_reader :method_name, :args attr_accessor :uri $xmlrpc_pings = [] def initialize end def self.new2(uri) $xmlrpc_pings ||= [] client = new client.uri = uri client end def self.pings $xmlrpc_pings end def call(name, *args) @method_name = name @args = *args $xmlrpc_pings ||= [] $xmlrpc_pings << self end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
typo-5.2.98 | test/mocks/test/xmlrpc_mock.rb |
typo-5.2 | test/mocks/test/xmlrpc_mock.rb |
typo-5.3 | test/mocks/test/xmlrpc_mock.rb |