Method: Rubypress::XMLRPCRetryable.extended

Defined in:
lib/rubypress/xml_rpc_retryable.rb

.extended(instance) ⇒ Object



12
13
14
15
# File 'lib/rubypress/xml_rpc_retryable.rb', line 12

def self.extended(instance)
  instance.singleton_class.send(:alias_method, :call_without_retry, :call)
  instance.singleton_class.send(:alias_method, :call, :call_with_retry)
end