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
Returns a new instance of Links.
66 67 68 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 66 def initialize(links) @links = links || {} end |
Instance Method Details
#mandate ⇒ Object
70 71 72 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 70 def mandate @links['mandate'] end |
#payment ⇒ Object
74 75 76 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 74 def payment @links['payment'] end |
#refund ⇒ Object
78 79 80 |
# File 'lib/gocardless_pro/resources/payout_item.rb', line 78 def refund @links['refund'] end |