Class: GoCardlessPro::Resources::PayoutItem::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::PayoutItem::Links
- Defined in:
- lib/gocardless_pro/resources/payout_item.rb
Instance Method Summary collapse
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
- #payment ⇒ Object
- #refund ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
65 66 67 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 65 def initialize(links) @links = links || {} end |
Instance Method Details
#mandate ⇒ Object
69 70 71 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 69 def mandate @links['mandate'] end |
#payment ⇒ Object
73 74 75 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 73 def payment @links['payment'] end |
#refund ⇒ Object
77 78 79 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 77 def refund @links['refund'] end |