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.



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

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

Instance Method Details

#bank_accountObject



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

def 
  @links['bank_account']
end

#customerObject



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

def customer
  @links['customer']
end

#mandateObject



117
118
119
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 117

def mandate
  @links['mandate']
end