Sha256: b7596795b3d8f1356284de0b01181685287ec31e420d0a941dcac8f976ac84ee

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

require "wamp"

# Class that can be included
class IncludedApp < Wamp::App
  register echo: "foo.bar.echo"

  def echo(invocation)
    Wamp::Type::Result.new(args: invocation.args, kwargs: invocation.kwargs, details: invocation.details)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xconn-0.1.2 example/sample/included_app.rb
xconn-0.1.1 example/sample/included_app.rb
xconn-0.1.0 example/sample/included_app.rb