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.
89 90 91 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 89 def initialize(links) @links = links || {} end |
Instance Method Details
#billing_request ⇒ Object
93 94 95 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 93 def billing_request @links['billing_request'] end |
#creditor ⇒ Object
97 98 99 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 97 def creditor @links['creditor'] end |
#customer ⇒ Object
101 102 103 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 101 def customer @links['customer'] end |
#customer_bank_account ⇒ Object
105 106 107 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 105 def customer_bank_account @links['customer_bank_account'] end |
#mandate ⇒ Object
109 110 111 |
# File 'lib/gocardless_pro/resources/redirect_flow.rb', line 109 def mandate @links['mandate'] end |