Sha256: 6f047538dca503954b8dea1edc74d238d2132a9d0819cfffc870780bc490276f
Contents?: true
Size: 930 Bytes
Versions: 8
Compression:
Stored size: 930 Bytes
Contents
require 'metasploit/model/translation' module Metasploit module Model module Module # Joins {Metasploit::Model::Module::Instance} and {Metasploit::Model::Platform.} module Platform extend ActiveModel::Naming extend ActiveSupport::Concern include Metasploit::Model::Translation included do include ActiveModel::Validations # # Validations # validates :module_instance, :presence => true validates :platform, :presence => true end # # Associations # # @!attribute [rw] module_instance # Module that supports {#platform}. # # @return [Metasploit::Model::Module::Instance] # @!attribute [rw] platform # Platform supported by {#module_instance}. # # @return [Metasploit::Model::Platform] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems