Class: ActivePayment::Models::Payee
- Inherits:
-
Object
- Object
- ActivePayment::Models::Payee
- Includes:
- PaypalPayee
- Defined in:
- lib/active_payment/models/payee.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#paypal_identifier ⇒ Object
Returns the value of attribute paypal_identifier.
-
#primary ⇒ Object
Returns the value of attribute primary.
Instance Method Summary collapse
-
#initialize(id:, paypal_identifier:, primary: false) ⇒ Payee
constructor
A new instance of Payee.
Methods included from PaypalPayee
Constructor Details
#initialize(id:, paypal_identifier:, primary: false) ⇒ Payee
Returns a new instance of Payee.
8 9 10 11 12 |
# File 'lib/active_payment/models/payee.rb', line 8 def initialize(id:, paypal_identifier:, primary: false) @id = id @paypal_identifier = paypal_identifier @primary = primary end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/active_payment/models/payee.rb', line 6 def id @id end |
#paypal_identifier ⇒ Object
Returns the value of attribute paypal_identifier.
6 7 8 |
# File 'lib/active_payment/models/payee.rb', line 6 def paypal_identifier @paypal_identifier end |
#primary ⇒ Object
Returns the value of attribute primary.
6 7 8 |
# File 'lib/active_payment/models/payee.rb', line 6 def primary @primary end |