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-2.6.1 lib/bobot/events/delivery.rb
bobot-2.6.0 lib/bobot/events/delivery.rb
bobot-2.5.0 lib/bobot/events/delivery.rb
bobot-2.3.0 lib/bobot/events/delivery.rb
bobot-2.1.0 lib/bobot/events/delivery.rb