Class: GoCardlessPro::Resources::MandateImport::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



86
87
88
# File 'lib/gocardless_pro/resources/mandate_import.rb', line 86

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

Instance Method Details

#creditorObject



90
91
92
# File 'lib/gocardless_pro/resources/mandate_import.rb', line 90

def creditor
  @links['creditor']
end