Module: PayPal::SDK::AdaptiveAccounts::DataTypes::ResponseStatus

Defined in:
lib/paypal-sdk/adaptive_accounts/data_types.rb

Constant Summary collapse

Status =
{ :success => ["Success", "SuccessWithWarning"],
:warning => ["Warning", "SuccessWithWarning", "FailureWithWarning"],
:failure => ["Failure", "FailureWithWarning"] }

Instance Method Summary collapse

Instance Method Details

#response_statusObject



22
23
24
# File 'lib/paypal-sdk/adaptive_accounts/data_types.rb', line 22

def response_status
  self.responseEnvelope && self.responseEnvelope.ack
end