Sha256: 1c9083a2e2b0c502fe3d1be3cba7c536ecd76acba7ac4cf82aba9d0119e25ea0

Contents?: true

Size: 248 Bytes

Versions: 6

Compression:

Stored size: 248 Bytes

Contents

module MyApp

  class HelloWorldHandler < RubyPitaya::HandlerBase

    non_authenticated_actions :sayHello

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubypitaya-2.12.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-2.11.2 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-2.11.1 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-2.11.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-2.10.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-2.9.3 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb