Class: SchemaInfo
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SchemaInfo
- Defined in:
- lib/msf/models/schema_info.rb
Overview
ActiveRecord model of MSF SchemaInfo
Example:
SchemaInfo.find(1)
SchemaInfo.first.software_version
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/schema_info.rb', line 11 def self.primary_key :Version end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/schema_info.rb', line 8 def self.table_name :SchemaInfo end |
Instance Method Details
#comment ⇒ Object
26 27 28 |
# File 'lib/msf/models/schema_info.rb', line 26 def comment self.Comment end |
#date ⇒ Object
20 21 22 |
# File 'lib/msf/models/schema_info.rb', line 20 def date self.Date end |
#kind ⇒ Object
17 18 19 |
# File 'lib/msf/models/schema_info.rb', line 17 def kind self.Kind end |
#software_version ⇒ Object
23 24 25 |
# File 'lib/msf/models/schema_info.rb', line 23 def software_version self.SoftwareVersion end |
#version ⇒ Object
14 15 16 |
# File 'lib/msf/models/schema_info.rb', line 14 def version self.Version end |