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.
70 71 72 |
# File 'lib/gocardless_pro/resources/payout.rb', line 70 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
74 75 76 |
# File 'lib/gocardless_pro/resources/payout.rb', line 74 def creditor @links['creditor'] end |
#creditor_bank_account ⇒ Object
78 79 80 |
# File 'lib/gocardless_pro/resources/payout.rb', line 78 def creditor_bank_account @links['creditor_bank_account'] end |