Sha256: 48d63c8bcc7e25d504d61a3d914b2e706d988b173fa0d43977d51ccb46583503

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

# frozen_string_literal: true

module AppStoreConnectApi
  module Domain
    module PrereleaseVersions
      # @see https://developer.apple.com/documentation/appstoreconnectapi/list_prerelease_versions
      def prerelease_versions(options = {})
        get '/v1/preReleaseVersions', options
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/read_prerelease_version_information
      def prerelease_version(prerelease_version_id, options = {})
        get "/v1/preReleaseVersions/#{prerelease_version_id}", options
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_information_of_a_prerelease_version
      def prerelease_version_app(prerelease_version_id, options = {})
        get "/v1/preReleaseVersions/#{prerelease_version_id}/app", options
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_a_prerelease_version
      def prerelease_version_builds(prerelease_version_id, options = {})
        get "/v1/preReleaseVersions/#{prerelease_version_id}/builds", options
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rocleung_as_api_client-1.0.0 lib/app_store_connect_api/domain/prerelease_versions.rb
rocleung_as_api_client-0.38.0 lib/app_store_connect_api/domain/prerelease_versions.rb
app_store_connect_api_client-0.35.0 lib/app_store_connect_api/domain/prerelease_versions.rb