Class: Roqua::CoreApi::SendTextMessageTo Private

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
lib/roqua/core_api/send_text_message_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
20
# File 'lib/roqua/core_api/send_text_message_to.rb', line 17

def execute
  CoreApi.basic_auth_session(username: username, password: password)
      .post "/text_messages", text_message: attributes, person_id: person_id
end