Class: GoCardlessPro::Resources::Refund::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/refund.rb

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



55
56
57
# File 'lib/gocardless_pro/resources/refund.rb', line 55

def initialize(links)
  @links = links || {}
end

Instance Method Details

#mandateObject



59
60
61
# File 'lib/gocardless_pro/resources/refund.rb', line 59

def mandate
  @links['mandate']
end

#paymentObject



63
64
65
# File 'lib/gocardless_pro/resources/refund.rb', line 63

def payment
  @links['payment']
end