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.28.0 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.28.0-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.28.0.pre.engine.pre.requires spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.4 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.4-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.3 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.3-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.2 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.2-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.1 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.1-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.0 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.0-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.27.0.pre.dep.pre.railties spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.26.1-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.26.1 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.7 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.7-java spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.6 spec/dummy/app/models/dummy/email_address.rb
metasploit-model-0.25.6-java spec/dummy/app/models/dummy/email_address.rb