spaceship/lib/spaceship/connect_api/client.rb
##
# Spaceship HTTP client for the App Store Connect API.
#
# This client is solely responsible for the making HTTP requests and
# parsing their responses. Parameters should be either named parameters, or
# for large request data bodies, pass in anything that can resond to
# `to_json`.
#
# Each request method should validate the required parameters. A required parameter is one that would result in 400-range response if it is not supplied.
# Each request method should make only one request. For more high-level logic, put code in the data models.
Spaceship HTTP client for the App Store Connect API.
This client is solely responsible for the making HTTP requests and
parsing their responses. Parameters should be either named parameters, or
for large request data bodies, pass in anything that can resond to
`to_json`.

Each request method should validate the required parameters. A required parameter is one that would result in 400-range response if it is not supplied.
Each request method should make only one request. For more high-level logic, put code in the data models.
Spaceship HTTP client for the App Store Connect API . This client is solely responsible for the making HTTP requests and parsing their responses . Parameters should be either named parameters or for large request data bodies pass in anything that can resond to ` to_json ` . Each request method should validate the required parameters . A required parameter is one that would result in 400 - range response if it is not supplied . Each request method should make only one request . For more high - level logic put code in the data models .
def patch_beta_app_localizations(localization_id: nil, attributes: {})
        path = "betaAppLocalizations/#{localization_id}"
        body = {
          data: {
            attributes: attributes,
            id: localization_id,
            type: "betaAppLocalizations"
          }
        }
        response = request(:patch) do |req|
          req.url(path)
          req.body = body.to_json
          req.headers['Content-Type'] = 'application/json'
        end
        handle_response(response)
      end
def patch_beta_app_localizations ( localization_id : nil , attributes : { } ) path = "betaAppLocalizations/#{localization_id}" body = { data : { attributes : attributes , id : localization_id , type : "betaAppLocalizations" } } response = request ( :patch ) do | req | req . url ( path ) req . body = body . to_json req . headers [ 'Content-Type' ] = 'application/json' end handle_response ( response ) end
Spaceship HTTP client for the App Store Connect API.
Spaceship HTTP client for the App Store Connect API .
# PATCH # https://appstoreconnect.apple.com/iris/v1/apps/<app_id>/betaAppLocalizations/<localization_id>
localization_id
attributes