Sha256: 81089bd33fe00eaca439f52da9fe9e54bdab48238f722735c1e293369770f621

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

class PingController < ApplicationController
  def index
    self.wamp_session.publish "com.example.back.ping", [params[:a].to_i, params[:b].to_i], {}, { exclude_me: false }

    render json: { result: true }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wamp-worker-0.1.1 test/wamp_test/app/controllers/ping_controller.rb
wamp-worker-0.1.0 test/wamp_test/app/controllers/ping_controller.rb