Module: AppStoreDevApi

Defined in:
lib/app_store_dev_api/client.rb,
lib/app_store_dev_api.rb,
lib/app_store_dev_api/base.rb,
lib/app_store_dev_api/schema.rb,
lib/app_store_dev_api/request.rb,
lib/app_store_dev_api/version.rb,
lib/app_store_dev_api/object/id.rb,
lib/app_store_dev_api/object/data.rb,
lib/app_store_dev_api/object/type.rb,
lib/app_store_dev_api/schema/type.rb,
lib/app_store_dev_api/client/utils.rb,
lib/app_store_dev_api/request/body.rb,
lib/app_store_dev_api/schema/object.rb,
lib/app_store_dev_api/specification.rb,
lib/app_store_dev_api/client/builder.rb,
lib/app_store_dev_api/client/options.rb,
lib/app_store_dev_api/client/registry.rb,
lib/app_store_dev_api/object/included.rb,
lib/app_store_dev_api/object/data_type.rb,
lib/app_store_dev_api/object/attributes.rb,
lib/app_store_dev_api/object/properties.rb,
lib/app_store_dev_api/client/authorization.rb,
lib/app_store_dev_api/request/builder/create.rb,
lib/app_store_dev_api/requests/v1/app/update.rb,
lib/app_store_dev_api/requests/delete_with_body.rb,
lib/app_store_dev_api/requests/v1/builds/update.rb,
lib/app_store_dev_api/requests/v1/device/create.rb,
lib/app_store_dev_api/requests/v1/profile/create.rb,
lib/app_store_dev_api/requests/v1/profile/create.rb,
lib/app_store_dev_api/requests/v1/app_info/update.rb,
lib/app_store_dev_api/schema/web_service_endpoint.rb,
lib/app_store_dev_api/requests/v1/bundle_id/create.rb,
lib/app_store_dev_api/requests/v1/certificate/create.rb,
lib/app_store_dev_api/specification/component/schema.rb,
lib/app_store_dev_api/requests/v1/subscription/create.rb,
lib/app_store_dev_api/requests/v1/subscription/update.rb,
lib/app_store_dev_api/requests/v2/sandbox_tester/create.rb,
lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb,
lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb,
lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb,
lib/app_store_dev_api/requests/v1/app_availability/delete.rb,
lib/app_store_dev_api/requests/v1/app_availability/update.rb,
lib/app_store_dev_api/requests/v2/app_availability/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version/update.rb,
lib/app_store_dev_api/requests/v1/build_beta_detail/update.rb,
lib/app_store_dev_api/requests/v1/build_beta_groups/create.rb,
lib/app_store_dev_api/requests/v1/build_beta_groups/delete.rb,
lib/app_store_dev_api/requests/v1/review_submission/create.rb,
lib/app_store_dev_api/requests/v1/review_submission/update.rb,
lib/app_store_dev_api/requests/v1/app_price_schedule/update.rb,
lib/app_store_dev_api/requests/v1/promoted_purchases/create.rb,
lib/app_store_dev_api/requests/v1/promoted_purchases/update.rb,
lib/app_store_dev_api/requests/v1/subscription_group/create.rb,
lib/app_store_dev_api/requests/v1/subscription_group/update.rb,
lib/app_store_dev_api/requests/v1/subscription_price/create.rb,
lib/app_store_dev_api/request/user_invitation_create_request.rb,
lib/app_store_dev_api/requests/v1/bundle_id_capability/create.rb,
lib/app_store_dev_api/requests/v1/app_info_localization/create.rb,
lib/app_store_dev_api/requests/v1/app_info_localization/update.rb,
lib/app_store_dev_api/requests/v1/app_promoted_purchases/update.rb,
lib/app_store_dev_api/requests/v1/review_submission_item/create.rb,
lib/app_store_dev_api/requests/v1/app_store_review_detail/create.rb,
lib/app_store_dev_api/requests/v1/app_store_review_detail/update.rb,
lib/app_store_dev_api/requests/v1/beta_build_localization/create.rb,
lib/app_store_dev_api/requests/v1/beta_build_localization/update.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code/update.rb,
lib/app_store_dev_api/requests/v1/subscription_submission/create.rb,
lib/app_store_dev_api/requests/v1/customer_review_response/create.rb,
lib/app_store_dev_api/requests/v1/promoted_purchases_image/create.rb,
lib/app_store_dev_api/requests/v1/promoted_purchases_image/update.rb,
lib/app_store_dev_api/requests/v1/subscription_availability/create.rb,
lib/app_store_dev_api/requests/v1/subscription_grace_period/update.rb,
lib/app_store_dev_api/requests/v1/subscription_localization/create.rb,
lib/app_store_dev_api/requests/v1/subscription_localization/update.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_submission/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version_promotion/create.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_availability/create.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_localization/create.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_localization/update.rb,
lib/app_store_dev_api/requests/v1/subscription_group_submission/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version_localization/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version_localization/update.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_price_schedule/create.rb,
lib/app_store_dev_api/requests/v1/subscription_promotional_offer/create.rb,
lib/app_store_dev_api/requests/v1/subscription_promotional_offer/update.rb,
lib/app_store_dev_api/requests/v1/subscription_review_screenshot/create.rb,
lib/app_store_dev_api/requests/v1/subscription_review_screenshot/update.rb,
lib/app_store_dev_api/requests/v1/subscription_group_localization/create.rb,
lib/app_store_dev_api/requests/v1/subscription_group_localization/update.rb,
lib/app_store_dev_api/requests/v1/subscription_introductory_offer/create.rb,
lib/app_store_dev_api/requests/v1/subscription_introductory_offer/delete.rb,
lib/app_store_dev_api/requests/v1/subscription_introductory_offer/update.rb,
lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/create.rb,
lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/update.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/create.rb,
lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/update.rb,
lib/app_store_dev_api/requests/v1/app_store_version_releases_request/create.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/create.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/update.rb,
lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb,
lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/create.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/create.rb,
lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/update.rb

Overview

WARNING ABOUT GENERATED CODE

This file is generated.

WARNING ABOUT GENERATED CODE

Defined Under Namespace

Modules: Object, Requests Classes: Base, Client, ProfileCreateRequest, Request, Schema, Specification, UserInvitationCreateRequest

Constant Summary collapse

VERSION =
'0.1.9'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



13
14
15
# File 'lib/app_store_dev_api.rb', line 13

def config
  @config
end

Class Method Details

.rel(id, type, array: false) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/app_store_dev_api.rb', line 15

def rel(id, type, array: false)
  if array
    { data: [{ id: id, type: type }] }.freeze
  else
    { data: { id: id, type: type } }.freeze
  end
end