Sha256: 03b3c4ef30464facab3bc55717b706e6e1967cbd789f91716d3a504905d97711

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

module AppStoreConnectApi
  module Domain
    module BuildBetaDetails
      # @see https://developer.apple.com/documentation/appstoreconnectapi/list_build_beta_details
      def build_beta_details(options = {})
        get '/v1/buildBetaDetails', options
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/read_build_beta_detail_information
      def build_beta_detail(build_beta_detail_id, options = {})
        get "/v1/buildBetaDetails/#{build_beta_detail_id}", options
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/modify_a_build_beta_detail
      def update_build_beta_detail(build_beta_detail_id, attributes)
        patch "/v1/buildBetaDetails/#{build_beta_detail_id}", data: { attributes: attributes,
                                                                      id: build_beta_detail_id,
                                                                      type: 'buildBetaDetails' }
      end

      # @see https://developer.apple.com/documentation/appstoreconnectapi/read_the_build_information_of_a_build_beta_detail
      def build_beta_detail_build(build_beta_detail_id, options = {})
        get "/v1/buildBetaDetails/#{build_beta_detail_id}/build", 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/build_beta_details.rb
rocleung_as_api_client-0.38.0 lib/app_store_connect_api/domain/build_beta_details.rb
app_store_connect_api_client-0.35.0 lib/app_store_connect_api/domain/build_beta_details.rb