Module: AppStoreConnectApi::Domain::ReviewSubmissions
- Included in:
- AppStoreConnectApi::Domain
- Defined in:
- lib/app_store_connect_api/domain/review_submissions.rb
Instance Method Summary collapse
- #create_review_submission(attributes, relationships) ⇒ Object
- #review_submission(review_submission_id, options = {}) ⇒ Object
- #review_submission_items(review_submission_id, options = {}) ⇒ Object
- #review_submissions(options = {}) ⇒ Object
- #update_review_submission(review_submission_id, attributes) ⇒ Object
Instance Method Details
#create_review_submission(attributes, relationships) ⇒ Object
17 18 19 20 21 |
# File 'lib/app_store_connect_api/domain/review_submissions.rb', line 17 def create_review_submission(attributes, relationships) post '/v1/reviewSubmissions', data: { attributes: attributes, relationships: Utils::RelationshipMapper.(relationships), type: 'reviewSubmissions' } end |
#review_submission(review_submission_id, options = {}) ⇒ Object
12 13 14 |
# File 'lib/app_store_connect_api/domain/review_submissions.rb', line 12 def review_submission(review_submission_id, = {}) get "/v1/reviewSubmissions/#{review_submission_id}", end |
#review_submission_items(review_submission_id, options = {}) ⇒ Object
31 32 33 |
# File 'lib/app_store_connect_api/domain/review_submissions.rb', line 31 def review_submission_items(review_submission_id, = {}) get "/v1/reviewSubmissions/#{review_submission_id}/items", end |
#review_submissions(options = {}) ⇒ Object
7 8 9 |
# File 'lib/app_store_connect_api/domain/review_submissions.rb', line 7 def review_submissions( = {}) get '/v1/reviewSubmissions', end |
#update_review_submission(review_submission_id, attributes) ⇒ Object
24 25 26 27 28 |
# File 'lib/app_store_connect_api/domain/review_submissions.rb', line 24 def update_review_submission(review_submission_id, attributes) patch "/v1/reviewSubmissions/#{review_submission_id}", data: { attributes: attributes, id: review_submission_id, type: 'reviewSubmissions' } end |