Class: GoCardlessPro::Resources::TransferredMandate::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



44
45
46
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 44

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

Instance Method Details

#customer_bank_accountObject



48
49
50
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 48

def 
  @links['customer_bank_account']
end

#mandateObject



52
53
54
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 52

def mandate
  @links['mandate']
end