Class: PayPal::AdaptivePayments::Response::PayErrorList

Inherits:
Object
  • Object
show all
Includes:
Common::Base
Defined in:
lib/paypal/adaptive_payments/response/pay_error_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common::Base

#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore

Instance Attribute Details

#pay_errorObject

Returns the value of attribute pay_error.



5
6
7
# File 'lib/paypal/adaptive_payments/response/pay_error_list.rb', line 5

def pay_error
  @pay_error
end

Instance Method Details

#errorsObject



11
12
13
# File 'lib/paypal/adaptive_payments/response/pay_error_list.rb', line 11

def errors
  self.pay_error
end

#set_pay_error(value) ⇒ Object



7
8
9
# File 'lib/paypal/adaptive_payments/response/pay_error_list.rb', line 7

def set_pay_error(value)
  self.pay_error = build_value(PayError, value)
end