Class: AppStoreDevApi::Client

Inherits:
Base
  • Object
show all
Defined in:
lib/app_store_dev_api/client.rb,
lib/app_store_dev_api/client/utils.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/client/authorization.rb

Defined Under Namespace

Classes: Authorization, Builder, Options, Registry, Utils

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #method_missing, #respond_to_missing?, #web_service_endpoint_aliases

Constructor Details

This class inherits a constructor from AppStoreDevApi::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AppStoreDevApi::Base

Instance Method Details

#create_beta_build_localization(**kwargs) ⇒ Object



58
59
60
61
62
63
64
# File 'lib/app_store_dev_api/client.rb', line 58

def create_beta_build_localization(**kwargs)
  web_service_endpoint = Schema::WebServiceEndpoint.new(
    { http_body_type: 'Requests::V1::BetaBuildLocalization::Create', http_method: 'post', url: 'https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations' }
  )

  call(web_service_endpoint, **kwargs)
end

#create_bundle_id(**kwargs) ⇒ Object



36
37
38
39
40
41
42
# File 'lib/app_store_dev_api/client.rb', line 36

def create_bundle_id(**kwargs)
  web_service_endpoint = Schema::WebServiceEndpoint.new(
    { http_body_type: 'Requests::V1::BundleId::Create', http_method: 'post', url: 'https://api.appstoreconnect.apple.com/v1/bundleIds' }
  )

  call(web_service_endpoint, **kwargs)
end

#create_bundle_id_capability(**kwargs) ⇒ Object



47
48
49
50
51
52
53
# File 'lib/app_store_dev_api/client.rb', line 47

def create_bundle_id_capability(**kwargs)
  web_service_endpoint = Schema::WebServiceEndpoint.new(
    { http_body_type: 'Requests::V1::BundleIdCapability::Create', http_method: 'post', url: 'https://api.appstoreconnect.apple.com/v1/bundleIdCapabilities' }
  )

  call(web_service_endpoint, **kwargs)
end

#create_certificate(**kwargs) ⇒ Object



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

def create_certificate(**kwargs)
  web_service_endpoint = Schema::WebServiceEndpoint.new(
    { http_body_type: 'Requests::V1::Certificate::Create', http_method: 'post', url: 'https://api.appstoreconnect.apple.com/v1/certificates' }
  )

  call(web_service_endpoint, **kwargs)
end

#delete_visible_app(**kwargs) ⇒ Object



25
26
27
28
29
30
31
# File 'lib/app_store_dev_api/client.rb', line 25

def delete_visible_app(**kwargs)
  web_service_endpoint = Schema::WebServiceEndpoint.new(
    { http_method: 'delete', url: 'https://api.appstoreconnect.apple.com/v1/users/{id}/relationships/visibleApps' }
  )

  call(web_service_endpoint, **kwargs)
end