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