Class: MyApp::HelloWorldHandler
- Inherits:
-
RubyPitaya::HandlerBase
- Object
- RubyPitaya::HandlerBase
- MyApp::HelloWorldHandler
- 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
#sayHello ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb', line 7 def sayHello response = { code: 'RP-200', data: { message: 'Hello!' } } end |