class PayPal::SDK::Subscriptions::Product::Page

Public Instance Methods

next() click to toggle source
# File lib/paypal-sdk/subscriptions/product.rb, line 27
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