Class: GoCardlessPro::Resources::PayerAuthorisation::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



101
102
103
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 101

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

Instance Method Details

#bank_accountObject



105
106
107
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 105

def 
  @links['bank_account']
end

#customerObject



109
110
111
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 109

def customer
  @links['customer']
end

#mandateObject



113
114
115
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 113

def mandate
  @links['mandate']
end