Sha256: ee11899ba2ce5002eed78c1367959aaa9b5cb31eae93ab223b8fc48b0363e01e

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module Wamp
  module Type
    # Event Type
    class Event
      attr_reader :args, :kwargs, :details

      def initialize(args: [], kwargs: {}, details: {})
        @args = args
        @kwargs = kwargs
        @details = details
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xconn-0.1.2 lib/wamp/type/event.rb
xconn-0.1.1 lib/wamp/type/event.rb
xconn-0.1.0 lib/wamp/type/event.rb