Class: Roqua::CoreApi::SendNotification Private

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
lib/roqua/core_api/send_notification.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#executeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Possible variables in the body/subject are:

%firstname%,
%lastname%,
%initials%


24
25
26
27
28
# File 'lib/roqua/core_api/send_notification.rb', line 24

def execute
  CoreApi.basic_auth_session.post "/notifications", notification: attributes,
                                                    person_id: person_id,
                                                    dossier_id: dossier_id
end