Class: GoCardlessPro::Resources::InstalmentSchedule::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::InstalmentSchedule::Links
- Defined in:
- lib/gocardless_pro/resources/instalment_schedule.rb
Instance Method Summary collapse
- #customer ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
- #payments ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
65 66 67 |
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 65 def initialize(links) @links = links || {} end |
Instance Method Details
#customer ⇒ Object
69 70 71 |
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 69 def customer @links['customer'] end |
#mandate ⇒ Object
73 74 75 |
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 73 def mandate @links['mandate'] end |
#payments ⇒ Object
77 78 79 |
# File 'lib/gocardless_pro/resources/instalment_schedule.rb', line 77 def payments @links['payments'] end |