Module: Spaceship

Defined in:
spaceship/lib/spaceship/connect_api/token.rb,
spaceship/lib/spaceship/ui.rb,
spaceship/lib/spaceship/base.rb,
spaceship/lib/spaceship/client.rb,
spaceship/lib/spaceship/errors.rb,
spaceship/lib/spaceship/module.rb,
spaceship/lib/spaceship/globals.rb,
spaceship/lib/spaceship/hashcash.rb,
spaceship/lib/spaceship/launcher.rb,
spaceship/lib/spaceship/provider.rb,
spaceship/lib/spaceship/tunes/iap.rb,
spaceship/lib/spaceship/playground.rb,
spaceship/lib/spaceship/portal/app.rb,
spaceship/lib/spaceship/portal/key.rb,
spaceship/lib/spaceship/connect_api.rb,
spaceship/lib/spaceship/tunes/build.rb,
spaceship/lib/spaceship/du/du_client.rb,
spaceship/lib/spaceship/du/utilities.rb,
spaceship/lib/spaceship/tunes/errors.rb,
spaceship/lib/spaceship/tunes/member.rb,
spaceship/lib/spaceship/portal/device.rb,
spaceship/lib/spaceship/portal/invite.rb,
spaceship/lib/spaceship/portal/person.rb,
spaceship/lib/spaceship/tunes/members.rb,
spaceship/lib/spaceship/du/upload_file.rb,
spaceship/lib/spaceship/portal/persons.rb,
spaceship/lib/spaceship/tunes/b2b_user.rb,
spaceship/lib/spaceship/tunes/iap_list.rb,
spaceship/lib/spaceship/tunes/iap_type.rb,
spaceship/lib/spaceship/portal/merchant.rb,
spaceship/lib/spaceship/portal/passbook.rb,
spaceship/lib/spaceship/tunes/app_image.rb,
spaceship/lib/spaceship/tunes/spaceship.rb,
spaceship/lib/spaceship/tunes/territory.rb,
spaceship/lib/spaceship/portal/app_group.rb,
spaceship/lib/spaceship/portal/spaceship.rb,
spaceship/lib/spaceship/spaceauth_runner.rb,
spaceship/lib/spaceship/stats_middleware.rb,
spaceship/lib/spaceship/test_flight/base.rb,
spaceship/lib/spaceship/tunes/app_review.rb,
spaceship/lib/spaceship/tunes/app_status.rb,
spaceship/lib/spaceship/tunes/iap_detail.rb,
spaceship/lib/spaceship/tunes/iap_status.rb,
spaceship/lib/spaceship/tunes/tunes_base.rb,
spaceship/lib/spaceship/connect_api/model.rb,
spaceship/lib/spaceship/test_flight/build.rb,
spaceship/lib/spaceship/tunes/app_details.rb,
spaceship/lib/spaceship/tunes/app_ratings.rb,
spaceship/lib/spaceship/tunes/app_trailer.rb,
spaceship/lib/spaceship/tunes/app_version.rb,
spaceship/lib/spaceship/tunes/application.rb,
spaceship/lib/spaceship/tunes/build_train.rb,
spaceship/lib/spaceship/tunes/device_type.rb,
spaceship/lib/spaceship/tunes/version_set.rb,
spaceship/lib/spaceship/commands_generator.rb,
spaceship/lib/spaceship/connect_api/client.rb,
spaceship/lib/spaceship/portal/app_service.rb,
spaceship/lib/spaceship/portal/certificate.rb,
spaceship/lib/spaceship/portal/portal_base.rb,
spaceship/lib/spaceship/test_flight/client.rb,
spaceship/lib/spaceship/test_flight/tester.rb,
spaceship/lib/spaceship/tunes/availability.rb,
spaceship/lib/spaceship/tunes/iap_families.rb,
spaceship/lib/spaceship/tunes/pricing_info.rb,
spaceship/lib/spaceship/tunes/pricing_tier.rb,
spaceship/lib/spaceship/tunes/tunes_client.rb,
spaceship/lib/spaceship/portal/website_push.rb,
spaceship/lib/spaceship/tunes/app_analytics.rb,
spaceship/lib/spaceship/tunes/build_details.rb,
spaceship/lib/spaceship/tunes/language_item.rb,
spaceship/lib/spaceship/connect_api/response.rb,
spaceship/lib/spaceship/portal/portal_client.rb,
spaceship/lib/spaceship/tunes/app_screenshot.rb,
spaceship/lib/spaceship/tunes/app_submission.rb,
spaceship/lib/spaceship/tunes/display_family.rb,
spaceship/lib/spaceship/tunes/legacy_wrapper.rb,
spaceship/lib/spaceship/tunes/sandbox_tester.rb,
spaceship/lib/spaceship/connect_api/spaceship.rb,
spaceship/lib/spaceship/portal/legacy_wrapper.rb,
spaceship/lib/spaceship/portal/ui/select_team.rb,
spaceship/lib/spaceship/tunes/app_version_ref.rb,
spaceship/lib/spaceship/tunes/iap_family_list.rb,
spaceship/lib/spaceship/connect_api/api_client.rb,
spaceship/lib/spaceship/connect_api/models/app.rb,
spaceship/lib/spaceship/portal/cloud_container.rb,
spaceship/lib/spaceship/tunes/b2b_organization.rb,
spaceship/lib/spaceship/tunes/transit_app_file.rb,
spaceship/lib/spaceship/connect_api/models/user.rb,
spaceship/lib/spaceship/connect_api/tunes/tunes.rb,
spaceship/lib/spaceship/connect_api/users/users.rb,
spaceship/lib/spaceship/connect_api/models/actor.rb,
spaceship/lib/spaceship/connect_api/models/build.rb,
spaceship/lib/spaceship/connect_api/tunes/client.rb,
spaceship/lib/spaceship/connect_api/users/client.rb,
spaceship/lib/spaceship/tunes/app_version_common.rb,
spaceship/lib/spaceship/tunes/developer_response.rb,
spaceship/lib/spaceship/tunes/iap_family_details.rb,
spaceship/lib/spaceship/tunes/language_converter.rb,
spaceship/lib/spaceship/upgrade_2fa_later_client.rb,
spaceship/lib/spaceship/connect_api/file_uploader.rb,
spaceship/lib/spaceship/connect_api/models/device.rb,
spaceship/lib/spaceship/tunes/app_version_history.rb,
spaceship/lib/spaceship/two_step_or_factor_client.rb,
spaceship/lib/spaceship/connect_api/models/profile.rb,
spaceship/lib/spaceship/connect_api/models/app_info.rb,
spaceship/lib/spaceship/portal/provisioning_profile.rb,
spaceship/lib/spaceship/tunes/app_review_attachment.rb,
spaceship/lib/spaceship/connect_api/models/app_price.rb,
spaceship/lib/spaceship/connect_api/models/bundle_id.rb,
spaceship/lib/spaceship/connect_api/models/territory.rb,
spaceship/lib/spaceship/tunes/app_version_promocodes.rb,
spaceship/lib/spaceship/connect_api/models/beta_group.rb,
spaceship/lib/spaceship/connect_api/testflight/client.rb,
spaceship/lib/spaceship/connect_api/models/app_preview.rb,
spaceship/lib/spaceship/connect_api/models/beta_tester.rb,
spaceship/lib/spaceship/connect_api/models/certificate.rb,
spaceship/lib/spaceship/connect_api/models/app_category.rb,
spaceship/lib/spaceship/connect_api/models/build_bundle.rb,
spaceship/lib/spaceship/connect_api/models/capabilities.rb,
spaceship/lib/spaceship/connect_api/provisioning/client.rb,
spaceship/lib/spaceship/connect_api/models/beta_feedback.rb,
spaceship/lib/spaceship/tunes/app_version_states_history.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usage.rb,
spaceship/lib/spaceship/connect_api/models/app_price_tier.rb,
spaceship/lib/spaceship/connect_api/models/app_screenshot.rb,
spaceship/lib/spaceship/connect_api/models/build_delivery.rb,
spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb,
spaceship/lib/spaceship/connect_api/testflight/testflight.rb,
spaceship/lib/spaceship/connect_api/models/app_preview_set.rb,
spaceship/lib/spaceship/connect_api/models/app_price_point.rb,
spaceship/lib/spaceship/connect_api/models/beta_screenshot.rb,
spaceship/lib/spaceship/connect_api/models/custom_app_user.rb,
spaceship/lib/spaceship/connect_api/models/user_invitation.rb,
spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb,
spaceship/lib/spaceship/connect_api/models/review_rejection.rb,
spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb,
spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb,
spaceship/lib/spaceship/connect_api/models/app_store_version.rb,
spaceship/lib/spaceship/connect_api/models/beta_build_metric.rb,
spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb,
spaceship/lib/spaceship/connect_api/models/review_submission.rb,
spaceship/lib/spaceship/connect_api/token_refresh_middleware.rb,
spaceship/lib/spaceship/portal/provisioning_profile_template.rb,
spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb,
spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb,
spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb,
spaceship/lib/spaceship/connect_api/models/pre_release_version.rb,
spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb,
spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb,
spaceship/lib/spaceship/connect_api/models/app_info_localization.rb,
spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb,
spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb,
spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb,
spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb,
spaceship/lib/spaceship/connect_api/models/review_submission_item.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usage_grouping.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb,
spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb,
spaceship/lib/spaceship/connect_api/models/beta_build_localization.rb,
spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb,
spaceship/lib/spaceship/connect_api/models/custom_app_organization.rb,
spaceship/lib/spaceship/connect_api/models/resolution_center_thread.rb,
spaceship/lib/spaceship/connect_api/models/resolution_center_message.rb,
spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb,
spaceship/lib/spaceship/connect_api/models/app_store_review_attachment.rb,
spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usages_publish_state.rb,
spaceship/lib/spaceship/connect_api/models/app_data_usage_data_protection.rb,
spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb,
spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb,
spaceship/lib/spaceship/connect_api/models/app_store_version_release_request.rb

Overview

rubocop:disable Metrics/ClassLength

Defined Under Namespace

Modules: Hashcash, Portal, TestFlight, Tunes, Utilities Classes: AccessForbiddenError, AppStoreAppPreviewError, AppStoreLocaleError, AppStoreLocalizationError, AppStoreScreenshotError, AppleIDAndPrivacyAcknowledgementNeeded, AppleTimeoutError, BadGatewayError, Base, BasicPreferredInfoError, Client, CommandsGenerator, ConnectAPI, DUClient, GatewayTimeoutError, Globals, InsufficientPermissions, InternalServerError, InvalidUserCredentialsError, Launcher, NoUserCredentialsError, Playground, PortalBase, PortalClient, ProgramLicenseAgreementUpdated, Provider, SpaceauthRunner, StatsMiddleware, TokenRefreshMiddleware, TooManyRequestsError, TunesClient, UnauthorizedAccessError, UnexpectedResponse, UploadFile

Constant Summary collapse

ROOT =
Pathname.new(File.expand_path('../../..', __FILE__))
DESCRIPTION =
"Ruby library to access the Apple Dev Center and App Store Connect".freeze
AppVersion =
Spaceship::Tunes::AppVersion
AppSubmission =
Spaceship::Tunes::AppSubmission
Application =
Spaceship::Tunes::Application
Members =
Spaceship::Tunes::Members
Persons =
Spaceship::Portal::Persons
Certificate =
Spaceship::Portal::Certificate
ProvisioningProfile =
Spaceship::Portal::ProvisioningProfile
Device =
Spaceship::Portal::Device
App =
Spaceship::Portal::App
AppGroup =
Spaceship::Portal::AppGroup
Passbook =
Spaceship::Portal::Passbook
WebsitePush =
Spaceship::Portal::WebsitePush
AppService =
Spaceship::Portal::AppService
Merchant =
Spaceship::Portal::Merchant

Class Method Summary collapse

Class Method Details

.appObject



110
111
112
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 110

def app
  Spaceship::Portal.app
end

.app_groupObject



122
123
124
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 122

def app_group
  Spaceship::Portal.app_group
end

.app_serviceObject



126
127
128
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 126

def app_service
  Spaceship::Portal.app_service
end

.certificateObject



138
139
140
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 138

def certificate
  Spaceship::Portal.certificate
end

.clientObject



146
147
148
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 146

def client
  Spaceship::Portal.client
end

.cloud_containerObject



130
131
132
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 130

def cloud_container
  Spaceship::Portal.cloud_container
end

.deviceObject



134
135
136
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 134

def device
  Spaceship::Portal.device
end

.login(user = nil, password = nil) ⇒ Object



102
103
104
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 102

def (user = nil, password = nil)
  Spaceship::Portal.(user, password)
end

.merchantObject



150
151
152
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 150

def merchant
  Spaceship::Portal.merchant
end

.passbookObject



114
115
116
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 114

def passbook
  Spaceship::Portal.passbook
end

.provisioning_profileObject



142
143
144
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 142

def provisioning_profile
  Spaceship::Portal.provisioning_profile
end

.select_team(team_id: nil, team_name: nil) ⇒ Object



106
107
108
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 106

def select_team(team_id: nil, team_name: nil)
  Spaceship::Portal.select_team(team_id: team_id, team_name: team_name)
end

.website_pushObject



118
119
120
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 118

def website_push
  Spaceship::Portal.website_push
end