Class: GoCardlessPro::Resources::RedirectFlow::Links

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

Instance Method Summary collapse

Constructor Details

#initialize(links) ⇒ Links

Returns a new instance of Links.



89
90
91
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 89

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

Instance Method Details

#billing_requestObject



93
94
95
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 93

def billing_request
  @links['billing_request']
end

#creditorObject



97
98
99
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 97

def creditor
  @links['creditor']
end

#customerObject



101
102
103
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 101

def customer
  @links['customer']
end

#customer_bank_accountObject



105
106
107
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 105

def 
  @links['customer_bank_account']
end

#mandateObject



109
110
111
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 109

def mandate
  @links['mandate']
end