Method: PlatformAPI::OrganizationMember#create_or_update

Defined in:
lib/platform-api/client.rb

#create_or_update(organization_name, body) ⇒ Object

Create a new organization member, or update their role.

Parameters:

  • organization_name:

    unique name of organization

  • body:

    the object to pass as the request payload



1597
1598
1599
# File 'lib/platform-api/client.rb', line 1597

def create_or_update(organization_name, body)
  @client.organization_member.create_or_update(organization_name, body)
end