Module: AppStoreConnectApi::Domain::BetaAppLocalizations
- Included in:
- AppStoreConnectApi::Domain
- Defined in:
- lib/app_store_connect_api/domain/beta_app_localizations.rb
Instance Method Summary collapse
- #beta_app_localization(beta_app_localization_id, options = {}) ⇒ Object
- #beta_app_localization_app(beta_app_localization_id, options = {}) ⇒ Object
- #beta_app_localizations(options = {}) ⇒ Object
- #create_beta_app_localization(attributes, relationships) ⇒ Object
- #delete_beta_app_localization(beta_app_localization_id) ⇒ Object
- #update_beta_app_localization(beta_app_localization_id, attributes) ⇒ Object
Instance Method Details
#beta_app_localization(beta_app_localization_id, options = {}) ⇒ Object
12 13 14 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 12 def beta_app_localization(beta_app_localization_id, = {}) get "/v1/betaAppLocalizations/#{beta_app_localization_id}", end |
#beta_app_localization_app(beta_app_localization_id, options = {}) ⇒ Object
36 37 38 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 36 def beta_app_localization_app(beta_app_localization_id, = {}) get "/v1/betaAppLocalizations/#{beta_app_localization_id}/app", end |
#beta_app_localizations(options = {}) ⇒ Object
7 8 9 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 7 def beta_app_localizations( = {}) get '/v1/betaAppLocalizations', end |
#create_beta_app_localization(attributes, relationships) ⇒ Object
17 18 19 20 21 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 17 def create_beta_app_localization(attributes, relationships) post '/v1/betaAppLocalizations', data: { attributes: attributes, relationships: Utils::RelationshipMapper.(relationships), type: 'betaAppLocalizations' } end |
#delete_beta_app_localization(beta_app_localization_id) ⇒ Object
31 32 33 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 31 def delete_beta_app_localization(beta_app_localization_id) delete "/v1/betaAppLocalizations/#{beta_app_localization_id}" end |
#update_beta_app_localization(beta_app_localization_id, attributes) ⇒ Object
24 25 26 27 28 |
# File 'lib/app_store_connect_api/domain/beta_app_localizations.rb', line 24 def update_beta_app_localization(beta_app_localization_id, attributes) patch "/v1/betaAppLocalizations/#{beta_app_localization_id}", data: { attributes: attributes, id: beta_app_localization_id, type: 'betaAppLocalizations' } end |