lib/deploygate/client/apps.rb
def add_app_members(owner:, platform:, app_id:, users:, role: nil)
        endpoint = "/api/users/#{owner}/platforms/#{platform}/apps/#{app_id}/members"
        res = api.post endpoint do |request|
          request.headers['Content-Type'] = 'application/x-www-form-urlencoded'
          request.body = URI.encode_www_form(
            users: users,
            role: role
          )
        end
        Response.new(res)
      end
# Invite users to the app.
# @see https://docs.deploygate.com/reference#invite
#
# @param owner [String] User or organization name
# @param platform [String] Application platform(ios/android)
# @param app_id [String] Application package name
# @param users [String] User name or email
#   (You can specify multiple values separated by commas)
# @option role[String] 1(developer) or 2(tester)
# @return [Deploygate::Client::Response]
Invite users to the app.
Invite users to the app .
def add_app_members(owner:, platform:, app_id:, users:, role: nil)
        endpoint = "/api/users/#{owner}/platforms/#{platform}/apps/#{app_id}/members"
        res = api.post endpoint do |request|
          request.headers['Content-Type'] = 'application/x-www-form-urlencoded'
          request.body = URI.encode_www_form(
            users: users,
            role: role
          )
        end
        Response.new(res)
      end
def add_app_members ( owner : , platform : , app_id : , users : , role : nil ) endpoint = "/api/users/#{owner}/platforms/#{platform}/apps/#{app_id}/members" res = api . post endpoint do | request | request . headers [ 'Content-Type' ] = 'application/x-www-form-urlencoded' request . body = URI . encode_www_form ( users : users , role : role ) end Response . new ( res ) end
Invite users to the app.
Invite users to the app .
None
Deploygate::Client::Response
owner
User or organization name
User or organization name
platform
None
app_id
Application package name
Application package name
users
User name or email (You can specify multiple values separated by commas)
User name or email ( You can specify multiple values separated by commas )
role
1(developer) or 2(tester)
1 ( developer ) or 2 ( tester )
see
None