class Paypal::Payment::Response::Reference
Attributes
info[RW]
payee_info[RW]
Public Class Methods
new(attributes = {})
click to toggle source
Calls superclass method
Paypal::Base::new
# File lib/paypal/payment/response/reference.rb, line 8 def initialize(attributes = {}) super store_payee_info(attributes) if attributes[:payee_email] end
Private Instance Methods
store_payee_info(attributes)
click to toggle source
# File lib/paypal/payment/response/reference.rb, line 15 def store_payee_info(attributes) @payee_info = Response::PayeeInfo.new( payee_email: attributes.delete(:payee_email), payee_id: attributes.delete(:payee_id) ) end