Sha256: a257711551e586f5ed1f403f57e86d0f476a19fcca481b3b7536ad7e63dbe8aa
Contents?: true
Size: 1.03 KB
Versions: 63
Compression:
Stored size: 1.03 KB
Contents
module Metasploit module Credential module Exporter # Defines attributes common to allow exporters. module Base extend ActiveSupport::Concern included do include ActiveModel::Validations # @!attribute data # A {Hash} that holds the credentials data to be exported. # @return [Hash] attr_accessor :data # @!attribute output # An {IO} that holds the exported data. {File} in normal usage. # @return [IO] attr_accessor :output # @!attribute workspace # The {Mdm::Workspace} that the credentials will be exported from # @return[Mdm::Workspace] attr_accessor :workspace end # # Instance Methods # # @param attributes [Hash{Symbol => String,nil}] def initialize(attributes={}) attributes.each do |attribute, value| public_send("#{attribute}=", value) end end end end end end
Version data entries
63 entries across 63 versions & 1 rubygems