Module: AppStoreConnectApi::Domain::BetaAppReviewSubmissions

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

Instance Method Summary collapse

Instance Method Details

#beta_app_review_submission(beta_app_review_submission_id, options = {}) ⇒ Object



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

def beta_app_review_submission(beta_app_review_submission_id, options = {})
  get "/v1/betaAppReviewSubmissions/#{beta_app_review_submission_id}", options
end

#beta_app_review_submission_build(beta_app_review_submission_id, options = {}) ⇒ Object



23
24
25
# File 'lib/app_store_connect_api/domain/beta_app_review_submissions.rb', line 23

def beta_app_review_submission_build(beta_app_review_submission_id, options = {})
  get "/v1/betaAppReviewSubmissions/#{beta_app_review_submission_id}/build", options
end

#beta_app_review_submissions(options = {}) ⇒ Object



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

def beta_app_review_submissions(options = {})
  get '/v1/betaAppReviewSubmissions', options
end

#create_beta_app_review_submission(relationships) ⇒ Object



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

def create_beta_app_review_submission(relationships)
  post '/v1/betaAppReviewSubmissions', data: { relationships: Utils::RelationshipMapper.expand(relationships),
                                               type: 'betaAppReviewSubmissions' }
end