Sha256: e42cbac99367c33b592afb1e0a3ccc3a797c612d24978cdd60996a5dad04e344

Contents?: true

Size: 382 Bytes

Versions: 136

Compression:

Stored size: 382 Bytes

Contents

# Copyright (c) 2015 Sqreen. All Rights Reserved.
# Please refer to our terms for more information: https://www.sqreen.io/terms.html

module Sqreen
  # Master interface for point in time events (e.g. Attack, RemoteException)
  class Event
    attr_reader :payload
    def initialize(payload)
      @payload = payload
    end

    def to_hash
      payload.to_hash
    end
  end
end

Version data entries

136 entries across 136 versions & 2 rubygems

Version Path
sqreen-1.15.1 lib/sqreen/event.rb
sqreen-1.15.0-java lib/sqreen/event.rb
sqreen-1.15.0 lib/sqreen/event.rb
sqreen-1.14.2-java lib/sqreen/event.rb
sqreen-1.14.2 lib/sqreen/event.rb
sqreen-1.14.1-java lib/sqreen/event.rb
sqreen-1.14.1 lib/sqreen/event.rb
sqreen-1.14.0-java lib/sqreen/event.rb
sqreen-1.14.0 lib/sqreen/event.rb
sqreen-1.14.0.beta3-java lib/sqreen/event.rb
sqreen-1.14.0.beta3 lib/sqreen/event.rb
sqreen-1.14.0.beta2 lib/sqreen/event.rb
sqreen-1.14.0.beta1 lib/sqreen/event.rb
sqreen-1.13.4-java lib/sqreen/event.rb
sqreen-alt-1.13.4 lib/sqreen/event.rb
sqreen-1.13.4 lib/sqreen/event.rb
sqreen-1.13.2-java lib/sqreen/event.rb
sqreen-alt-1.13.2 lib/sqreen/event.rb
sqreen-1.13.2 lib/sqreen/event.rb
sqreen-1.13.1-java lib/sqreen/event.rb