Class: GoCardlessPro::Resources::CreditorBankAccount::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/creditor_bank_account.rb

Instance Method Summary collapse

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

#creditorObject



68
69
70
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 68

def creditor
  @links['creditor']
end