Class: PayPal::AdaptivePayments::Response::PayError
- Inherits:
-
Object
- Object
- PayPal::AdaptivePayments::Response::PayError
- Includes:
- Common::Base
- Defined in:
- lib/paypal/adaptive_payments/response/pay_error.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
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
#error ⇒ Object
Returns the value of attribute error.
5 6 7 |
# File 'lib/paypal/adaptive_payments/response/pay_error.rb', line 5 def error @error end |
#receiver ⇒ Object
Returns the value of attribute receiver.
6 7 8 |
# File 'lib/paypal/adaptive_payments/response/pay_error.rb', line 6 def receiver @receiver end |
Instance Method Details
#set_error(value) ⇒ Object
8 9 10 |
# File 'lib/paypal/adaptive_payments/response/pay_error.rb', line 8 def set_error(value) self.error = build_value(ErrorData, value) end |
#set_receiver(value) ⇒ Object
12 13 14 |
# File 'lib/paypal/adaptive_payments/response/pay_error.rb', line 12 def set_receiver(value) self.receiver = build_value(Receiver, value) end |