module Ruby::Identitas::Endpoints::Internal::InviteUser

Public Instance Methods

user_invite(options = {}, headers = {}) click to toggle source
# File lib/ruby/identitas/endpoints/internal/invite_user.rb, line 6
def user_invite(options = {}, headers = {})
  headers.merge!({AuthKey: @api_key})
  endpoint = build_endpoint("/v1/internal/users/invite")
  self.class.post(endpoint, query: options, headers: headers)
end