Class: HelloWorldHandler

Inherits:
RubyPitaya::HandlerBase show all
Defined in:
lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb

Instance Attribute Summary

Attributes inherited from RubyPitaya::HandlerBase

#bll, #config, #log, #params, #postman, #redis, #session, #setup

Instance Method Summary collapse

Methods inherited from RubyPitaya::HandlerBase

authenticated_action_name?, #initialize, non_authenticated_actions

Constructor Details

This class inherits a constructor from RubyPitaya::HandlerBase

Instance Method Details

#sayHelloObject



5
6
7
8
9
10
11
12
# File 'lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb', line 5

def sayHello
  response = {
    code: 'RP-200',
    data: {
      message: 'Hello!'
    }
  }
end