Sha256: aafaaeee0907afaaede8609495762812482a4065e6e4bb0f24046f798dd35b9b

Contents?: true

Size: 691 Bytes

Versions: 31

Compression:

Stored size: 691 Bytes

Contents

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

  #
  # Attributes
  #

  # @!attribute [rw] domain
  #   The domain part of the email address after the `'@'`.
  #
  #   @return [String]
  attr_accessor :domain

  # @!attribute [rw] full
  #   The full email address.
  #
  #   @return [String] <{#local}>@<{#domain}
  attr_accessor :full

  # @!attribute [rw] local
  #   The local part of the email address before the `'@'`.
  #
  #   @return [String]
  attr_accessor :local
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-model-0.25.3 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.3-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.2 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.2-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.1 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.1-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.24.1-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.24.1 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 spec/dummy/app/models/dummy/email_address.rb