Sha256: 2c6e43c44d37f93a4f22bdb70d13a1d16a789592421350a833f3cf56fb852f24

Contents?: true

Size: 412 Bytes

Versions: 6

Compression:

Stored size: 412 Bytes

Contents

module Evva
  class AnalyticsEvent
    attr_reader :event_name, :properties, :destinations

    def initialize(event_name, properties, destinations)
      @event_name = event_name
      @properties = properties
      @destinations = destinations
    end

    def ==(other)
      event_name == other.event_name &&
      properties == other.properties &&
      destinations == other.destinations
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
evva-0.5.0 lib/evva/analytics_event.rb
evva-0.4.4 lib/evva/analytics_event.rb
evva-0.4.3 lib/evva/analytics_event.rb
evva-0.4.2 lib/evva/analytics_event.rb
evva-0.4.1 lib/evva/analytics_event.rb
evva-0.4.0 lib/evva/analytics_event.rb