Class: GoCardlessPro::Resources::Payout::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



59
60
61
# File 'lib/gocardless_pro/resources/payout.rb', line 59

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

Instance Method Details

#creditorObject



63
64
65
# File 'lib/gocardless_pro/resources/payout.rb', line 63

def creditor
  @links['creditor']
end

#creditor_bank_accountObject



67
68
69
# File 'lib/gocardless_pro/resources/payout.rb', line 67

def 
  @links['creditor_bank_account']
end