Sha256: e430760c02e3e816e4f145275091271787ed1ce6bd28888a6afd894ddb5a8b61

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

require_relative '../model'

class ScanEnginePool < Domain::Model
  attr_accessor :id,
                :name,
                :engines,
                :sites

  def to_json(*_options)
    { id:, name:, engines:, sites: }.to_json
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
avs-0.1.3 lib/domain/scan_engine_pool/model.rb
avs-0.1.2 lib/domain/scan_engine_pool/model.rb
avs-0.1.1 lib/domain/scan_engine_pool/model.rb