Class: GoCardlessPro::Resources::MandateImportEntry::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::MandateImportEntry::Links
- Defined in:
- lib/gocardless_pro/resources/mandate_import_entry.rb
Instance Method Summary collapse
- #customer ⇒ Object
- #customer_bank_account ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
- #mandate_import ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
72 73 74 |
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 72 def initialize(links) @links = links || {} end |
Instance Method Details
#customer ⇒ Object
76 77 78 |
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 76 def customer @links['customer'] end |
#customer_bank_account ⇒ Object
80 81 82 |
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 80 def customer_bank_account @links['customer_bank_account'] end |
#mandate ⇒ Object
84 85 86 |
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 84 def mandate @links['mandate'] end |
#mandate_import ⇒ Object
88 89 90 |
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 88 def mandate_import @links['mandate_import'] end |