class Spaceship::Portal::AppGroup
Represents an app group of the Apple Dev Portal
Attributes
@return (String
) The identifier assigned to this group @example
"group.com.example.application"
@return (String
) The prefix assigned to this group @example
"9J57U9392R"
@return (String
) Status of the group @example
"current"
Private Class Methods
Source
# File spaceship/lib/spaceship/portal/app_group.rb, line 42 def all client.app_groups.map { |group| self.factory(group) } end
@return (Array
) Returns all app groups available for this account
Source
# File spaceship/lib/spaceship/portal/app_group.rb, line 51 def create!(group_id: nil, name: nil) new_group = client.create_app_group!(name, group_id) self.new(new_group) end
Creates a new App
Group on the Apple Dev Portal
@param group_id
[String] the identifier to assign to this group @param name [String] the name of the group @return (AppGroup
) The group you just created
Source
Private Instance Methods
Source
# File spaceship/lib/spaceship/portal/app_group.rb, line 67 def delete! client.delete_app_group!(app_group_id) self end
Delete this app group @return (AppGroup
) The app group you just deleted