Class: GoCardlessPro::Resources::OutboundPayment::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::OutboundPayment::Links
- Defined in:
- lib/gocardless_pro/resources/outbound_payment.rb
Instance Method Summary collapse
- #creditor ⇒ Object
- #customer ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #recipient_bank_account ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
65 66 67 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 65 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
69 70 71 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 69 def creditor @links['creditor'] end |
#customer ⇒ Object
73 74 75 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 73 def customer @links['customer'] end |
#recipient_bank_account ⇒ Object
77 78 79 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 77 def recipient_bank_account @links['recipient_bank_account'] end |