Sha256: f863dd1d9b1573cdacb15bea21a8371042d3006869f75c4a8919cb0e75434a27

Contents?: true

Size: 180 Bytes

Versions: 7

Compression:

Stored size: 180 Bytes

Contents

class HelloWorldHandler < RubyPitaya::HandlerBase

  non_authenticated_actions :sayHello

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubypitaya-1.4.1 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.4.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.3.1 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.3.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.2.9 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.2.7 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb
rubypitaya-1.1.0 ./lib/rubypitaya/app-template/app/handlers/hello_world_handler.rb