Class: SchemaInfo

Inherits:
ActiveRecord::Base
  • Object
show all
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_keyObject



11
12
13
# File 'lib/msf/models/schema_info.rb', line 11

def self.primary_key
  :Version
end

.table_nameObject



8
9
10
# File 'lib/msf/models/schema_info.rb', line 8

def self.table_name
  :SchemaInfo
end

Instance Method Details

#commentObject



26
27
28
# File 'lib/msf/models/schema_info.rb', line 26

def comment
  self.Comment
end

#dateObject



20
21
22
# File 'lib/msf/models/schema_info.rb', line 20

def date
  self.Date
end

#kindObject



17
18
19
# File 'lib/msf/models/schema_info.rb', line 17

def kind
  self.Kind
end

#software_versionObject



23
24
25
# File 'lib/msf/models/schema_info.rb', line 23

def software_version
  self.SoftwareVersion
end

#versionObject



14
15
16
# File 'lib/msf/models/schema_info.rb', line 14

def version
  self.Version
end