Sha256: 66fcfe99c44dcd96205ebeaf48164d908b719c11f4a63baa28bf18cdfd5ea733

Contents?: true

Size: 819 Bytes

Versions: 31

Compression:

Stored size: 819 Bytes

Contents

# Implementation of {Metasploit::Model::Reference} to allow testing of {Metasploit::Model::Reference} using an in-memory
# ActiveModel and use of factories.
class Dummy::Reference < Metasploit::Model::Base
  include Metasploit::Model::Reference

  #
  # Associations
  #

  # @!attribute [rw] authority
  #   The {Metasploit::Model::Authority authority} that assigned {#designation}.
  #
  #   @return [Metasploit::Model::Authority, nil]
  attr_accessor :authority

  #
  # Attributes
  #

  # @!attribute [rw] designation
  #   A designation (usually a string of numbers and dashes) assigned by {#authority}.
  #
  #   @return [String, nil]
  attr_accessor :designation

  # @!attribute [rw] url
  #   URL to web page with information about referenced exploit.
  #
  #   @return [String, nil]
  attr_accessor :url
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.28.0 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.28.0-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.4 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.4-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.3 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.3-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.2 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.2-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.1 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.1-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.0 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.0-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.26.1-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.26.1 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.25.7 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.25.7-java spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.25.6 spec/dummy/app/models/dummy/reference.rb
metasploit-model-0.25.6-java spec/dummy/app/models/dummy/reference.rb