spaceship/lib/spaceship/connect_api/models/certificate.rb in fastlane-2.217.0 vs spaceship/lib/spaceship/connect_api/models/certificate.rb in fastlane-2.218.0

- old
+ new

@@ -1,6 +1,6 @@ -require_relative '../model' +require_relative '../../connect_api' require 'openssl' module Spaceship class ConnectAPI @@ -77,10 +77,10 @@ # # API # - def self.all(client: nil, filter: {}, includes: nil, fields: nil, limit: nil, sort: nil) + def self.all(client: nil, filter: {}, includes: nil, fields: nil, limit: Spaceship::ConnectAPI::MAX_OBJECTS_PER_PAGE_LIMIT, sort: nil) client ||= Spaceship::ConnectAPI resps = client.get_certificates(filter: filter, includes: includes, fields: fields, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end