lib/deploygate/client/organizations.rb
# Add members to the organization.
# @see https://docs.deploygate.com/reference#organizations-members-create
#
# @param org_name [String] Organization name
# @param user_name [String] User name
# @return [Deploygate::Client::Response]
Add members to the organization.
Add members to the organization .
def add_organization_member(org_name:, user_name:)
        res = api.post "/api/organizations/#{org_name}/members" do |request|
          request.params[:username] = user_name
        end
        Response.new(res)
      end
def add_organization_member ( org_name : , user_name : ) res = api . post "/api/organizations/#{org_name}/members" do | request | request . params [ :username ] = user_name end Response . new ( res ) end
Add members to the organization.
Add members to the organization .
None
Deploygate::Client::Response
org_name
None
user_name
None
see
None