Class: GoCardlessPro::Resources::Payout::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::Payout::Links
- Defined in:
- lib/gocardless_pro/resources/payout.rb
Instance Method Summary collapse
- #creditor ⇒ Object
- #creditor_bank_account ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
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
#creditor ⇒ Object
63 64 65 |
# File 'lib/gocardless_pro/resources/payout.rb', line 63 def creditor @links['creditor'] end |
#creditor_bank_account ⇒ Object
67 68 69 |
# File 'lib/gocardless_pro/resources/payout.rb', line 67 def creditor_bank_account @links['creditor_bank_account'] end |