def get(url, options = {})
      should_paginate = options.delete(:paginate)
      request_options = {
        query: options.delete(:query),
        headers: options.delete(:headers),
        accept: options.delete(:accept),
        content_type: options.delete(:content_type),
        paginate: should_paginate,
        data: options
      }

      resp, status, next_page = request :get, url, **request_options

      # If request succeeded and we should paginate, then automatically traverse all next_pages
      if status == 200 && should_paginate
        all_objs = [resp]
        while next_page
          resp, status, next_page = request :get, next_page, **request_options
          break unless status == 200 # Return early if page request fails

          all_objs << resp
        end
        resp = all_objs.flatten
      end

      [resp, status]
    end
def get(url, options = {})
      should_paginate = options.delete(:paginate)
      request_options = {
        query: options.delete(:query),
        headers: options.delete(:headers),
        accept: options.delete(:accept),
        content_type: options.delete(:content_type),
        paginate: should_paginate,
        data: options
      }

      resp, status, next_page = request :get, url, **request_options

      # If request succeeded and we should paginate, then automatically traverse all next_pages
      if status == 200 && should_paginate
        all_objs = [resp]
        while next_page
          resp, status, next_page = request :get, next_page, **request_options
          break unless status == 200 # Return early if page request fails

          all_objs << resp
        end
        resp = all_objs.flatten
      end

      [resp, status]
    end
Make a HTTP GET request

 @param url [String] The path, relative to {#api_endpoint}
 @param options[:query] [Hash] Optional. Query params for request
 @param options[:headers] [Hash] Optional. Header params for the request.
 @param options[:accept] [String] Optional. The content type to accept. Default application/json
 @param options[:content_type] [String] Optional. The content type for the request. Default application/json
 @param options[:paginate] [Boolean] Optional. If true, will auto-paginate Okta's API responses.
 @param options [Hash] Optional. Body params for request.
 @return [Sawyer::Resource]