Sha256: f1d375058fc7a5535ae09f15a4b20098d3462cf8d4b36428f150005c6699b577

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

module FuncRunner
  class Message
    attr_accessor :id, :run_id, :thread_id, :integration_id, :correlation_id, :expires_at, :visible_at, :in_flight

    def initialize(options = {})
      @id = options[:id]
      @run_id = options[:run_id]
      @thread_id = options[:thread_id]
      @integration_id = options[:integration_id]
      @correlation_id = options[:correlation_id]
      @expires_at = options[:expires_at]
      @visible_at = options[:visible_at]
      @in_flight = options[:in_flight]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
funcrunner-0.1.1 lib/func_runner/message.rb
funcrunner-0.1.0 lib/func_runner/message.rb