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.
- #outbound_payment_import ⇒ Object
- #recipient_bank_account ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
82 83 84 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 82 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
86 87 88 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 86 def creditor @links['creditor'] end |
#customer ⇒ Object
90 91 92 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 90 def customer @links['customer'] end |
#outbound_payment_import ⇒ Object
94 95 96 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 94 def outbound_payment_import @links['outbound_payment_import'] end |
#recipient_bank_account ⇒ Object
98 99 100 |
# File 'lib/gocardless_pro/resources/outbound_payment.rb', line 98 def recipient_bank_account @links['recipient_bank_account'] end |