Sha256: aeb1dbf4b21d7c2e4adea82f123dc7b746bda80ab3a5b5c06f0ce57d0e9a5550

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Web
    module Ui
      module Models
        # Single job data representation model
        class Job < Lib::HashProxy
          # @return [Array<String>] tags of this consuming job / consumer
          def tags
            @hash[:tags] || []
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
karafka-web-0.2.5 lib/karafka/web/ui/models/job.rb
karafka-web-0.2.4 lib/karafka/web/ui/models/job.rb
karafka-web-0.2.3 lib/karafka/web/ui/models/job.rb
karafka-web-0.2.2 lib/karafka/web/ui/models/job.rb
karafka-web-0.2.1 lib/karafka/web/ui/models/job.rb