Parent

Methods

Class/Module Index [+]

Quicksearch

ActiveMerchant::Billing::WorldpayGateway::MultiResponse

Attributes

responses[R]

Public Class Methods

new() click to toggle source
# File lib/active_merchant/billing/gateways/worldpay.rb, line 254
def initialize
  @responses = []
end

Public Instance Methods

<<(response) click to toggle source
# File lib/active_merchant/billing/gateways/worldpay.rb, line 258
def <<(response)
  if response.is_a?(MultiResponse)
    response.responses.each{|r| @responses << r}
  else
    @responses << response
  end
end
success?() click to toggle source
# File lib/active_merchant/billing/gateways/worldpay.rb, line 266
def success?
  @responses.all?{|r| r.success?}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.