Sha256: 8c4c9946cff476af2033de5cc70f6b2f33c5de539677ff423e19c33c9bb086a6

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

module Dazeus
  module Event
    class Event < Hash
      attr_accessor :event, :params, :dazeus

      def initialize(data, dazeus)
        super()
        self.merge! data
        @dazeus = dazeus
        @event = self['event']
        @params = self['params']
        post_init
      end

      def post_init

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dazeus-0.0.1.201306211031 lib/dazeus/event/event.rb
dazeus-0.0.1.201306161801 lib/dazeus/event/event.rb
dazeus-0.0.1.201306161750 lib/dazeus/event/event.rb
dazeus-0.0.1.201306161619 lib/dazeus/event/event.rb
dazeus-0.0.1.201306012328 lib/dazeus/event/event.rb