Sha256: 20e33d7b015a3f47a036ad7ab40e61d637dfbb869dbb9e6c3e3ef9202c88bb6b
Contents?: true
Size: 1.01 KB
Versions: 16
Compression:
Stored size: 1.01 KB
Contents
require_relative '../../model' module Spaceship module ConnectAPI module TestFlight class BuildDelivery include Spaceship::ConnectAPI::Model attr_accessor :cf_build_version attr_accessor :cf_build_short_version_string attr_accessor :platform attr_accessor :uploaded_date attr_mapping({ "cfBundleVersion" => "cf_build_version", "cfBundleShortVersionString" => "cf_build_short_version_string", "platform" => "platform", "uploadedDate" => "uploaded_date" }) def self.type return "buildDeliveries" end # # API # def self.all(app_id: nil, version: nil, build_number: nil) resps = testflight_client.get_build_deliveries( filter: { app: app_id, cfBundleShortVersionString: version, cfBundleVersion: build_number }, limit: 1 ).all_pages return resps.map(&:to_models).flatten end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems