Class: GoCardlessPro::Resources::Subscription::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/subscription.rb

Instance Method Summary collapse

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

#mandateObject



122
123
124
# File 'lib/gocardless_pro/resources/subscription.rb', line 122

def mandate
  @links['mandate']
end