Sha256: d930a28dba8302804495f0121b17878f81763b3cc7cc84449bbc9839af4f19b8

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

module Laboratory
  class Experiment
    class Event
      class Recording
        attr_reader :user_id, :timestamp

        def initialize(user_id:, timestamp: Time.now)
          @user_id = user_id
          @timestamp = timestamp
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
laboratory-0.1.7 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.6 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.5 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.4 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.3 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.2 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.1 lib/laboratory/experiment/event/recording.rb
laboratory-0.1.0 lib/laboratory/experiment/event/recording.rb