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.



46
47
48
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 46

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

Instance Method Details

#customer_bank_accountObject



50
51
52
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 50

def 
  @links['customer_bank_account']
end

#mandateObject



54
55
56
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 54

def mandate
  @links['mandate']
end