Class: GoCardlessPro::Resources::RedirectFlow::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::RedirectFlow::Links
- Defined in:
- lib/gocardless_pro/resources/redirect_flow.rb
Instance Method Summary collapse
- #billing_request ⇒ Object
- #creditor ⇒ Object
- #customer ⇒ Object
- #customer_bank_account ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
108 109 110 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 108 def initialize(links) @links = links || {} end |
Instance Method Details
#billing_request ⇒ Object
112 113 114 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 112 def billing_request @links['billing_request'] end |
#creditor ⇒ Object
116 117 118 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 116 def creditor @links['creditor'] end |
#customer ⇒ Object
120 121 122 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 120 def customer @links['customer'] end |
#customer_bank_account ⇒ Object
124 125 126 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 124 def customer_bank_account @links['customer_bank_account'] end |
#mandate ⇒ Object
128 129 130 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 128 def mandate @links['mandate'] end |