Class: GoCardlessPro::Resources::TransferredMandate::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::TransferredMandate::Links
- Defined in:
- lib/gocardless_pro/resources/transferred_mandate.rb
Instance Method Summary collapse
- #customer_bank_account ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
44 45 46 |
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 44 def initialize(links) @links = links || {} end |
Instance Method Details
#customer_bank_account ⇒ Object
48 49 50 |
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 48 def customer_bank_account @links['customer_bank_account'] end |
#mandate ⇒ Object
52 53 54 |
# File 'lib/gocardless_pro/resources/transferred_mandate.rb', line 52 def mandate @links['mandate'] end |