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.



107
108
109
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 107

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

Instance Method Details

#bank_accountObject



111
112
113
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 111

def 
  @links['bank_account']
end

#customerObject



115
116
117
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 115

def customer
  @links['customer']
end

#mandateObject



119
120
121
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 119

def mandate
  @links['mandate']
end