Sha256: a014e2bf2d6c07b51bf4c8ee55b018d6d8e2ac5ef428fb4e2506ed032a44ae32
Contents?: true
Size: 1.2 KB
Versions: 18
Compression:
Stored size: 1.2 KB
Contents
module Metasploit module Model module Module # Code shared between `Mdm::Module::Action` and `Metasploit::Framework::Module::Action`. module Action extend ActiveModel::Naming extend ActiveSupport::Concern include Metasploit::Model::Translation included do include ActiveModel::MassAssignmentSecurity include ActiveModel::Validations include Metasploit::Model::Search # # Mass Assignment Security # attr_accessible :name # # Search Attributes # search_attribute :name, :type => :string # # Validations # validates :module_instance, :presence => true validates :name, :presence => true end # # Associations # # @!attribute [rw] module_instance # Module that has this action. # # @return [Metasploit::Model::Module::Instance] # # Attributes # # @!attribute [rw] name # The name of this action. # # @return [String] end end end end
Version data entries
18 entries across 18 versions & 1 rubygems