Sha256: a2d6d7b8ca38aa6545164ad40d5acbe40fc3e860e30cf5320e1cc0d91f9fc104
Contents?: true
Size: 395 Bytes
Versions: 35
Compression:
Stored size: 395 Bytes
Contents
class HelloWorldHandler < RubyPitaya::HandlerBase non_authenticated_actions :sayHello, :showMessage def sayHello response = { code: StatusCodes::CODE_OK, data: { message: 'Hello!' } } end def showMessage message = @params[:message] response = { code: StatusCodes::CODE_OK, data: { message: message } } end end
Version data entries
35 entries across 31 versions & 1 rubygems