b0VIM 8.2Yatb5U?joshholtzJoshs-MacBook-Air.local~joshholtz/Developer/fastlane/fastlane/spaceship/lib/spaceship/connect_api/response.rb 3210#"! UtpRad0 R|bG-,xwdD  e A - !  s \ [ (     ;     ] F : 9 %  end end end end end resp.each(&block) break if resp.nil? resp = resp.next_page loop do resp = self end yield(model) to_models.each do |model| def all_pages_each(&block) end end yield(model) to_models.each do |model| def each(&block) end return [model_or_models].flatten model_or_models = Spaceship::ConnectAPI::Models.parse(body) return [] if body.nil? def to_models end return next_pages(count: nil) def all_pages end return responses end break if !count.nil? && counter >= count counter += 1 responses << resp break if resp.nil? resp = resp.next_page loop do resp = self counter = 0 responses = [self] end count = 0 if !count.nil? && count < 0 def next_pages(count: 1) end return client.get(url) return nil if url.nil? url = next_url def next_page end return links["next"] links = body["links"] || {} return nil if body.nil? def next_url end @client = client @headers = headers @status = status @body = body def initialize(body: nil, status: nil, headers: nil, client: nil) attr_reader :client attr_reader :headers attr_reader :status attr_reader :body include Enumerable class Response class ConnectAPImodule Spaceshiprequire_relative './model'