Sha256: c7e7b87c0ca24910b4d4a60deb3eba9f61c1268cb5c00a06a9865f6a747d27ab

Contents?: true

Size: 316 Bytes

Versions: 45

Compression:

Stored size: 316 Bytes

Contents

module Bobot
  module Event
    class Delivery
      include Bobot::Event::Common

      def ids
        @messaging['delivery']['mids']
      end

      def at
        Time.zone.at(@messaging['delivery']['watermark'] / 1000)
      end

      def seq
        @messaging['delivery']['seq']
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
bobot-5.0.4 lib/bobot/events/delivery.rb
bobot-5.0.3 lib/bobot/events/delivery.rb
bobot-5.0.2 lib/bobot/events/delivery.rb
bobot-5.0.1 lib/bobot/events/delivery.rb
bobot-5.0.0 lib/bobot/events/delivery.rb
bobot-4.15.0 lib/bobot/events/delivery.rb
bobot-4.14.0 lib/bobot/events/delivery.rb
bobot-4.13.1 lib/bobot/events/delivery.rb
bobot-4.13.0 lib/bobot/events/delivery.rb
bobot-4.11.0 lib/bobot/events/delivery.rb
bobot-4.10.0 lib/bobot/events/delivery.rb
bobot-4.9.0 lib/bobot/events/delivery.rb
bobot-4.8.0 lib/bobot/events/delivery.rb
bobot-4.7.0 lib/bobot/events/delivery.rb
bobot-4.6.0 lib/bobot/events/delivery.rb
bobot-4.5.0 lib/bobot/events/delivery.rb
bobot-4.4.1 lib/bobot/events/delivery.rb
bobot-4.4.0 lib/bobot/events/delivery.rb
bobot-4.3.1 lib/bobot/events/delivery.rb
bobot-4.3.0 lib/bobot/events/delivery.rb