class Platforms::Yammer::Api::Invitations

Invite people to a Yammer network @author Benjamin Elias @since 0.1.0

Public Instance Methods

post(body=nil, headers={}) click to toggle source

Post invitations @param body [#to_s] Body of the request. Typically has email and may have group_id (optional). @param headers [Hash] Additional headers to send with the request @return [Faraday::Response] the API response @see developer.yammer.com/docs/invitationsjson

# File lib/platforms/yammer/api/invitations.rb, line 15
def post body=nil, headers={}
  @connection.post "invitations.json", body, headers
end