Class: GoCardlessPro::Resources::CreditorBankAccount::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::CreditorBankAccount::Links
- Defined in:
- lib/gocardless_pro/resources/creditor_bank_account.rb
Instance Method Summary collapse
- #creditor ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
73 74 75 |
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 73 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
77 78 79 |
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 77 def creditor @links['creditor'] end |