lib/oneaccess/request/investors_request_handler.rb in oneaccess-1.2.0 vs lib/oneaccess/request/investors_request_handler.rb in oneaccess-1.3.0

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true -require_relative "../response/investors_response" +require_relative '../response/investors_response' module ONEAccess module Request class InvestorsRequestHandler def initialize(url:, limit: PAGE_SIZE) @@ -31,10 +31,10 @@ attr_reader :limit def build_params(offset) { limit: limit, - offset: offset + offset: offset, } end def more_records?(meta) meta.offset < (meta.total / meta.limit).ceil - 1