Class: GoCardlessPro::Resources::Subscription::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::Subscription::Links
- Defined in:
- lib/gocardless_pro/resources/subscription.rb
Instance Method Summary collapse
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
- #mandate ⇒ Object
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
118 119 120 |
# File 'lib/gocardless_pro/resources/subscription.rb', line 118 def initialize(links) @links = links || {} end |
Instance Method Details
#mandate ⇒ Object
122 123 124 |
# File 'lib/gocardless_pro/resources/subscription.rb', line 122 def mandate @links['mandate'] end |