Class: GoCardlessPro::Resources::PayoutItem::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



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

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

Instance Method Details

#mandateObject



67
68
69
# File 'lib/gocardless_pro/resources/payout_item.rb', line 67

def mandate
  @links['mandate']
end

#paymentObject



71
72
73
# File 'lib/gocardless_pro/resources/payout_item.rb', line 71

def payment
  @links['payment']
end