Class: AdaptivePay::PreapprovalRequest

Inherits:
AbstractPaymentRequest show all
Defined in:
lib/adaptive_pay/preapproval_request.rb

Instance Attribute Summary

Attributes inherited from AbstractPaymentRequest

#sender

Class Method Summary collapse

Methods inherited from Request

attribute, attribute_names, #format_attribute, #initialize, #perform, #read_attribute, #serialize, #write_attribute

Constructor Details

This class inherits a constructor from AdaptivePay::Request

Class Method Details

.endpointObject



8
9
10
# File 'lib/adaptive_pay/preapproval_request.rb', line 8

def self.endpoint
  "Preapproval"
end

.response_typeObject



4
5
6
# File 'lib/adaptive_pay/preapproval_request.rb', line 4

def self.response_type
  :preapproval
end