class PayPal::SDK::Subscriptions::Plan::Page

Public Instance Methods

next() click to toggle source
# File lib/paypal-sdk/subscriptions/plan.rb, line 69
def next
  link = links.detect { |l| l.rel == 'next' }
  if link
    uri = URI.parse(link.href)
    response = api.api_call(method: :get, uri: uri, header: {})
    self.class.new(response)
  end
end