Method: Spaceship::TestFlight::Group.create!

Defined in:
spaceship/lib/spaceship/test_flight/group.rb

.create!(app_id: nil, group_name: nil) ⇒ Object



27
28
29
30
31
32
# File 'spaceship/lib/spaceship/test_flight/group.rb', line 27

def self.create!(app_id: nil, group_name: nil)
  group = self.find(app_id: app_id, group_name: group_name)
  return group unless group.nil?
  data = client.create_group_for_app(app_id: app_id, group_name: group_name)
  self.new(data)
end