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.
127 128 129 |
# File 'lib/gocardless_pro/resources/subscription.rb', line 127 def initialize(links) @links = links || {} end |
Instance Method Details
#mandate ⇒ Object
131 132 133 |
# File 'lib/gocardless_pro/resources/subscription.rb', line 131 def mandate @links['mandate'] end |