class Payoneer::PerformPayoutPaymentResponse
Public Class Methods
new(payload)
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 5 def initialize(payload) @doc = Nokogiri::Slop(payload) end
Public Instance Methods
error_message()
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 17 def error_message @doc.PerformPayoutPayment.Description.content end
payment_id()
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 25 def payment_id @doc.PerformPayoutPayment.PaymentID.content end
payoneer_id()
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 21 def payoneer_id @doc.PerformPayoutPayment.PayoneerID.content end
status_code()
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 13 def status_code @doc.PerformPayoutPayment.Status.content end
success?()
click to toggle source
# File lib/payoneer/perform_payout_payment_response.rb, line 9 def success? status_code === "000" end