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.
64 65 66 |
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 64 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
68 69 70 |
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 68 def creditor @links['creditor'] end |