Module: AppStoreConnectApi::Domain::BetaLicenseAgreements

Included in:
AppStoreConnectApi::Domain
Defined in:
lib/app_store_connect_api/domain/beta_license_agreements.rb

Instance Method Summary collapse

Instance Method Details

#beta_license_agreement(beta_license_agreement_id, options = {}) ⇒ Object



12
13
14
# File 'lib/app_store_connect_api/domain/beta_license_agreements.rb', line 12

def beta_license_agreement(beta_license_agreement_id, options = {})
  get "/v1/betaLicenseAgreements/#{beta_license_agreement_id}", options
end

#beta_license_agreement_app(beta_license_agreement_id, options = {}) ⇒ Object



24
25
26
# File 'lib/app_store_connect_api/domain/beta_license_agreements.rb', line 24

def beta_license_agreement_app(beta_license_agreement_id, options = {})
  get "/v1/betaLicenseAgreements/#{beta_license_agreement_id}/app", options
end

#beta_license_agreements(options = {}) ⇒ Object



7
8
9
# File 'lib/app_store_connect_api/domain/beta_license_agreements.rb', line 7

def beta_license_agreements(options = {})
  get '/v1/betaLicenseAgreements', options
end

#update_beta_license_agreement(beta_license_agreement_id, attributes) ⇒ Object



17
18
19
20
21
# File 'lib/app_store_connect_api/domain/beta_license_agreements.rb', line 17

def update_beta_license_agreement(beta_license_agreement_id, attributes)
  patch "/v1/betaLicenseAgreements/#{beta_license_agreement_id}", data: { attributes: attributes,
                                                                          id: beta_license_agreement_id,
                                                                          type: 'betaLicenseAgreements' }
end