class Adyen::REST::AuthoriseRecurringPayment::Request
Public Class Methods
new(action, attributes, options)
click to toggle source
Calls superclass method
Adyen::REST::Request::new
# File lib/adyen/rest/authorise_recurring_payment.rb 8 def initialize(action, attributes, options) 9 attributes[:recurring] ||= { contract: 'RECURRING' } 10 super(action, attributes, options) 11 @required_attributes += ['paymentRequest.shopperEmail', 12 'paymentRequest.recurring.contract', 13 'paymentRequest.shopperReference', 14 ] 15 end