Class: GoCardlessPro::Resources::Refund::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::Refund::Links
- Defined in:
- lib/gocardless_pro/resources/refund.rb
Instance Method Summary collapse
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
- #payment ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
62 63 64 |
# File 'lib/gocardless_pro/resources/refund.rb', line 62 def initialize(links) @links = links || {} end |
Instance Method Details
#mandate ⇒ Object
66 67 68 |
# File 'lib/gocardless_pro/resources/refund.rb', line 66 def mandate @links['mandate'] end |
#payment ⇒ Object
70 71 72 |
# File 'lib/gocardless_pro/resources/refund.rb', line 70 def payment @links['payment'] end |