Class: Paypal::Payment::Response::Reference
- Defined in:
- lib/paypal/payment/response/reference.rb
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
-
#payee_info ⇒ Object
Returns the value of attribute payee_info.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Reference
constructor
A new instance of Reference.
Methods included from Util
#==, formatted_amount, #numeric_attribute?, to_numeric
Constructor Details
#initialize(attributes = {}) ⇒ Reference
Returns a new instance of Reference.
8 9 10 11 |
# File 'lib/paypal/payment/response/reference.rb', line 8 def initialize(attributes = {}) super store_payee_info(attributes) if attributes[:payee_email] end |
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info.
6 7 8 |
# File 'lib/paypal/payment/response/reference.rb', line 6 def info @info end |
#payee_info ⇒ Object
Returns the value of attribute payee_info.
6 7 8 |
# File 'lib/paypal/payment/response/reference.rb', line 6 def payee_info @payee_info end |