Class: PayPalSDK::Operations::Operation

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-paypal-extended/operations/operation.rb

Overview

Abstract base class for all the operations

Direct Known Subclasses

MassPay

Instance Method Summary collapse

Instance Method Details

#call(caller) ⇒ Object

Executes the operation and returns the response wrapped in a Transaction



12
13
14
# File 'lib/ruby-paypal-extended/operations/operation.rb', line 12

def call(caller)
  caller.call(call_hash)
end