Module: Ronin::DB::Model::Importable
- Included in:
- Address, Advisory, Cert, CertName, Credential, EmailAddress, HostName, Organization, Password, Person, PhoneNumber, Service, URL, UserName
- Defined in:
- lib/ronin/db/model/importable.rb
Overview
Allows a model to import records from raw values.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(model) ⇒ Object
private
Adds ClassMethods to the model including Importable.
Class Method Details
.included(model) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Adds ClassMethods to the model including Ronin::DB::Model::Importable.
36 37 38 |
# File 'lib/ronin/db/model/importable.rb', line 36 def self.included(model) model.extend ClassMethods end |