Class: GoCardlessPro::Resources::MandateImportEntry::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/mandate_import_entry.rb

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



77
78
79
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 77

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

Instance Method Details

#customerObject



81
82
83
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 81

def customer
  @links['customer']
end

#customer_bank_accountObject



85
86
87
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 85

def 
  @links['customer_bank_account']
end

#mandateObject



89
90
91
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 89

def mandate
  @links['mandate']
end

#mandate_importObject



93
94
95
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 93

def mandate_import
  @links['mandate_import']
end