Class: Roqua::CoreApi::SendEmailTo Private

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
lib/roqua/core_api/send_email_to.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 are:

%firstname%,
%lastname%,
%initials%


17
18
19
# File 'lib/roqua/core_api/send_email_to.rb', line 17

def execute
  CoreApi.basic_auth_session.post "/emails", email: attributes, person_id: person_id
end