Sha256: 0c6269ee73ca28ecd6ac2e6ad5b10be485182c34c926f340b86ea19b384ef830
Contents?: true
Size: 408 Bytes
Versions: 6
Compression:
Stored size: 408 Bytes
Contents
module XMLRPC class XMLRPC::Client attr_reader :method_name, :args attr_accessor :uri def initialize end def self.new2(uri) @@pings ||= [] client = new client.uri = uri client end def self.pings @@pings end def call(name, *args) @method_name = name @args = *args @@pings ||= [] @@pings << self end end end
Version data entries
6 entries across 6 versions & 1 rubygems