lib/wcc/media/client/response.rb in wcc-media-client-0.4.15 vs lib/wcc/media/client/response.rb in wcc-media-client-0.5.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module WCC module Media class Client < ::WCC::API::RestClient class Response < AbstractResponse def skip @@ -18,10 +20,10 @@ body['messages'] || body['series'] || body['speakers'] || body['tags'] || body['streams'] end def next_page_query { - offset: page_items.length + skip, + offset: page_items.length + skip } end end end end