Module: AppStoreConnectApi::Domain::AppInfoLocalizations
- Included in:
- AppStoreConnectApi::Domain
- Defined in:
- lib/app_store_connect_api/domain/app_info_localizations.rb
Instance Method Summary collapse
- #app_info_localization(app_info_localization_id, options = {}) ⇒ Object
- #create_app_info_localization(attributes, relationships) ⇒ Object
- #delete_app_info_localization(app_info_localization_id) ⇒ Object
- #update_app_info_localization(app_info_localization_id, attributes) ⇒ Object
Instance Method Details
#app_info_localization(app_info_localization_id, options = {}) ⇒ Object
7 8 9 |
# File 'lib/app_store_connect_api/domain/app_info_localizations.rb', line 7 def app_info_localization(app_info_localization_id, = {}) get "/v1/appInfoLocalizations/#{app_info_localization_id}", end |
#create_app_info_localization(attributes, relationships) ⇒ Object
12 13 14 15 16 |
# File 'lib/app_store_connect_api/domain/app_info_localizations.rb', line 12 def create_app_info_localization(attributes, relationships) post '/v1/appInfoLocalizations', data: { attributes: attributes, relationships: Utils::RelationshipMapper.(relationships), type: 'appInfoLocalizations' } end |
#delete_app_info_localization(app_info_localization_id) ⇒ Object
26 27 28 |
# File 'lib/app_store_connect_api/domain/app_info_localizations.rb', line 26 def delete_app_info_localization(app_info_localization_id) delete "/v1/appInfoLocalizations/#{app_info_localization_id}" end |
#update_app_info_localization(app_info_localization_id, attributes) ⇒ Object
19 20 21 22 23 |
# File 'lib/app_store_connect_api/domain/app_info_localizations.rb', line 19 def update_app_info_localization(app_info_localization_id, attributes) patch "/v1/appInfoLocalizations/#{app_info_localization_id}", data: { attributes: attributes, id: app_info_localization_id, type: 'appInfoLocalizations' } end |