Sha256: 25842ae8411e8b912297b891c4703d8c26b313c6d170cd9b1f1665ce9ec32c6d

Contents?: true

Size: 329 Bytes

Versions: 9

Compression:

Stored size: 329 Bytes

Contents

module Pause
  class RateLimitedEvent
    attr_accessor :action, :identifier, :period_check, :sum, :timestamp

    def initialize(action, period_check, sum, timestamp)
      @action = action
      @identifier = action.identifier
      @period_check = period_check
      @sum = sum
      @timestamp = timestamp
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pause-0.4.0 lib/pause/rate_limited_event.rb
pause-0.2.1 lib/pause/rate_limited_event.rb
pause-0.2.0 lib/pause/rate_limited_event.rb
pause-0.1.2 lib/pause/rate_limited_event.rb
pause-0.1.1 lib/pause/rate_limited_event.rb
pause-0.1.0 lib/pause/rate_limited_event.rb
pause-0.0.6 lib/pause/rate_limited_event.rb
pause-0.0.5 lib/pause/rate_limited_event.rb
pause-0.0.4 lib/pause/rate_limited_event.rb