Class: GoCardlessPro::Resources::Event::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



58
59
60
# File 'lib/gocardless_pro/resources/event.rb', line 58

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

Instance Method Details

#mandateObject



62
63
64
# File 'lib/gocardless_pro/resources/event.rb', line 62

def mandate
  @links['mandate']
end

#new_customer_bank_accountObject



66
67
68
# File 'lib/gocardless_pro/resources/event.rb', line 66

def 
  @links['new_customer_bank_account']
end

#new_mandateObject



70
71
72
# File 'lib/gocardless_pro/resources/event.rb', line 70

def new_mandate
  @links['new_mandate']
end

#organisationObject



74
75
76
# File 'lib/gocardless_pro/resources/event.rb', line 74

def organisation
  @links['organisation']
end

#parent_eventObject



78
79
80
# File 'lib/gocardless_pro/resources/event.rb', line 78

def parent_event
  @links['parent_event']
end

#paymentObject



82
83
84
# File 'lib/gocardless_pro/resources/event.rb', line 82

def payment
  @links['payment']
end

#payoutObject



86
87
88
# File 'lib/gocardless_pro/resources/event.rb', line 86

def payout
  @links['payout']
end

#previous_customer_bank_accountObject



90
91
92
# File 'lib/gocardless_pro/resources/event.rb', line 90

def 
  @links['previous_customer_bank_account']
end

#refundObject



94
95
96
# File 'lib/gocardless_pro/resources/event.rb', line 94

def refund
  @links['refund']
end

#subscriptionObject



98
99
100
# File 'lib/gocardless_pro/resources/event.rb', line 98

def subscription
  @links['subscription']
end