Class: GoCardlessPro::Resources::PayerAuthorisation::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::PayerAuthorisation::Links
- Defined in:
- lib/gocardless_pro/resources/payer_authorisation.rb
Instance Method Summary collapse
- #bank_account ⇒ Object
- #customer ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
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_account ⇒ Object
111 112 113 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 111 def bank_account @links['bank_account'] end |
#customer ⇒ Object
115 116 117 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 115 def customer @links['customer'] end |
#mandate ⇒ Object
119 120 121 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 119 def mandate @links['mandate'] end |