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.



72
73
74
# File 'lib/gocardless_pro/resources/mandate_import_entry.rb', line 72

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

Instance Method Details

#customerObject



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

def customer
  @links['customer']
end

#customer_bank_accountObject



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

def 
  @links['customer_bank_account']
end

#mandateObject



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

def mandate
  @links['mandate']
end

#mandate_importObject



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

def mandate_import
  @links['mandate_import']
end