Sha256: f27f00e86ac85a48a18d1f392dbd2994f2d04ae5c66a315356c5f3b991936c63

Contents?: true

Size: 855 Bytes

Versions: 31

Compression:

Stored size: 855 Bytes

Contents

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

  #
  # Associations
  #

  # @!attribute [rw] author
  #   Author who wrote the {#module_instance module}.
  #
  #   @return [Dummy::Author]
  attr_accessor :author

  # @!attribute [rw] email_address
  #   Email address {#author} used when writing {#module_instance module}.
  #
  #   @return [Dummy::EmailAddress] if {#author} gave an email address.
  #   @return [nil] if {#author} only gave a name.
  attr_accessor :email_address

  # @!attribute [rw] module_instance
  #   Module written by {#author}.
  #
  #   @return [Dummy::Module::Instance]
  attr_accessor :module_instance
end

Version data entries

31 entries across 31 versions & 1 rubygems

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