Skip to content

Overview

Development

Overview

IDEs

API Explorer

CejiMethods

The CejiMethods class contains one-liners that are used by the CEJI endpoint to generate messages that indicate success, error, confirmation, or stand-by. These methods transform1 the given original message so that they sound CEJI-fied. For example, calling:

1
CejiMethods.cejiSuccessResponse('Connected to server')

would result in a string message like:

1
2
Connected to server
And just like that - it's done

The phrases appended and/or prepended are randomly chosen. Here are sample method usages:

Sample Gloop service showing how to use the CejiMethods one-liners

1
2
"${message}".cejiSuccessResponse()
"${message}".cejiFailureResponse()

  1. By prepending or appending a phrase or statement.