Sha256: aaf1b292e0a37097637667bf11a6a0bab69c4b83b918073cf1189883c5369a71

Contents?: true

Size: 549 Bytes

Versions: 16

Compression:

Stored size: 549 Bytes

Contents

module Determinator
  module Tracking
    class Request
      attr_reader :start, :type, :endpoint, :time, :error, :attributes, :determinations, :context

      def initialize(start:, type:, endpoint:, time:, error:, attributes:, determinations:, context: nil)
        @start = start
        @type = type
        @time = time
        @error = error
        @attributes = attributes
        @determinations = determinations
        @endpoint = endpoint
        @context = context
      end

      def error?
        error
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
determinator-2.9.3 lib/determinator/tracking/request.rb
determinator-2.9.2 lib/determinator/tracking/request.rb
determinator-2.9.1 lib/determinator/tracking/request.rb
determinator-2.9.0 lib/determinator/tracking/request.rb
determinator-2.8.0 lib/determinator/tracking/request.rb
determinator-2.7.1 lib/determinator/tracking/request.rb
determinator-2.7.0 lib/determinator/tracking/request.rb
determinator-2.6.0 lib/determinator/tracking/request.rb
determinator-2.5.4 lib/determinator/tracking/request.rb
determinator-2.5.3 lib/determinator/tracking/request.rb
determinator-2.5.2 lib/determinator/tracking/request.rb
determinator-2.5.1 lib/determinator/tracking/request.rb
determinator-2.5.0 lib/determinator/tracking/request.rb
determinator-2.4.4 lib/determinator/tracking/request.rb
determinator-2.4.3 lib/determinator/tracking/request.rb
determinator-2.4.2 lib/determinator/tracking/request.rb