Sha256: c45973f9eff0d31747390aa6b1921a21854a1c2e83315a7360489ce81cf5315e

Contents?: true

Size: 506 Bytes

Versions: 32

Compression:

Stored size: 506 Bytes

Contents

module Dradis::Plugins::Import
  class Result
    attr_accessor :description, :id, :tags, :title

    def initialize(args={})
      @description = args[:description] || "The Import plugin didn't provide a :description for this result."
      @id          = args[:id]          || "The Import plugin didn't provide an :id for this result."
      @tags        = args[:tags]        || []
      @title       = args[:title]       || "The Import plugin didn't provide a :title for this result."
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
dradis-plugins-4.14.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.13.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.11.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.10.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.9.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.8.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.7.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.6.1 lib/dradis/plugins/import/result.rb
dradis-plugins-4.5.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.4.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.3.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.2.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.1.0 lib/dradis/plugins/import/result.rb
dradis-plugins-4.0.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.22.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.21.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.20.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.19.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.18.0 lib/dradis/plugins/import/result.rb
dradis-plugins-3.17.0 lib/dradis/plugins/import/result.rb