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.



73
74
75
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 73

def initialize(links)
  @links = links || {}
end

Instance Method Details

#creditorObject



77
78
79
# File 'lib/gocardless_pro/resources/creditor_bank_account.rb', line 77

def creditor
  @links['creditor']
end