Method: Spaceship::Portal::App.create!
- Defined in:
- spaceship/lib/spaceship/portal/app.rb
.create!(bundle_id: nil, name: nil, mac: false, enable_services: {}) ⇒ App
Creates a new App ID on the Apple Dev Portal
if bundle_id ends with ‘*’ then it is a wildcard id otherwise, it is an explicit id
95 96 97 98 99 100 101 102 103 104 |
# File 'spaceship/lib/spaceship/portal/app.rb', line 95 def create!(bundle_id: nil, name: nil, mac: false, enable_services: {}) if bundle_id.end_with?('*') type = :wildcard else type = :explicit end new_app = client.create_app!(type, name, bundle_id, mac: mac, enable_services: enable_services) self.new(new_app) end |