Class: GoCardlessPro::Resources::Mandate::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::Mandate::Links
- Defined in:
- lib/gocardless_pro/resources/mandate.rb
Instance Method Summary collapse
- #creditor ⇒ Object
- #customer ⇒ Object
- #customer_bank_account ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #new_mandate ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
62 63 64 |
# File 'lib/gocardless_pro/resources/mandate.rb', line 62 def initialize(links) @links = links || {} end |
Instance Method Details
#creditor ⇒ Object
66 67 68 |
# File 'lib/gocardless_pro/resources/mandate.rb', line 66 def creditor @links['creditor'] end |
#customer ⇒ Object
70 71 72 |
# File 'lib/gocardless_pro/resources/mandate.rb', line 70 def customer @links['customer'] end |
#customer_bank_account ⇒ Object
74 75 76 |
# File 'lib/gocardless_pro/resources/mandate.rb', line 74 def customer_bank_account @links['customer_bank_account'] end |
#new_mandate ⇒ Object
78 79 80 |
# File 'lib/gocardless_pro/resources/mandate.rb', line 78 def new_mandate @links['new_mandate'] end |