Module: AppStoreConnectApi::Domain::AppStoreVersionPhasedReleases

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

Instance Method Summary collapse

Instance Method Details

#create_app_store_version_phased_release(attributes, relationships) ⇒ Object



7
8
9
10
11
# File 'lib/app_store_connect_api/domain/app_store_version_phased_releases.rb', line 7

def create_app_store_version_phased_release(attributes, relationships)
  post '/v1/appStoreVersionPhasedReleases', data: { attributes: attributes,
                                                    relationships: Utils::RelationshipMapper.expand(relationships),
                                                    type: 'appStoreVersionPhasedReleases' }
end

#delete_app_store_version_phased_release(app_store_version_phased_release_id) ⇒ Object



21
22
23
# File 'lib/app_store_connect_api/domain/app_store_version_phased_releases.rb', line 21

def delete_app_store_version_phased_release(app_store_version_phased_release_id)
  delete "/v1/appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}"
end

#update_app_store_version_phased_release(app_store_version_phased_release_id, attributes) ⇒ Object



14
15
16
17
18
# File 'lib/app_store_connect_api/domain/app_store_version_phased_releases.rb', line 14

def update_app_store_version_phased_release(app_store_version_phased_release_id, attributes)
  patch "/v1/appStoreVersionPhasedReleases/#{app_store_version_phased_release_id}", data: { attributes: attributes,
                                                                                            id: app_store_version_phased_release_id,
                                                                                            type: 'appStoreVersionPhasedReleases' }
end