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.
105 106 107 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 105 def initialize(links) @links = links || {} end |
Instance Method Details
#bank_account ⇒ Object
109 110 111 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 109 def bank_account @links['bank_account'] end |
#customer ⇒ Object
113 114 115 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 113 def customer @links['customer'] end |
#mandate ⇒ Object
117 118 119 |
# File 'lib/gocardless_pro/resources/payer_authorisation.rb', line 117 def mandate @links['mandate'] end |