...
Code Block | ||||
---|---|---|---|---|
| ||||
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::Manage.new('api-username', 'api-password')
m.get_id_user
# Returns XML response
# => "<GetIdUserResult><errorCode>0</errorCode><errorDescription></errorDescription><IdUsers><IdUser>1</IdUser></IdUsers></GetIdUserResult>" |
...