Sha256: a591854d753fc1bf6cb673fe7d7055f93182c60509155c24f25ff48f633e180c
Contents?: true
Size: 347 Bytes
Versions: 15
Compression:
Stored size: 347 Bytes
Contents
class SecurityInstrument < ActiveRecord::Base has_mcfly append_only: true attr_accessible :name, :settlement_class validates_presence_of :name, :settlement_class mcfly_validates_uniqueness_of :name mcfly_lookup :lookup, sig: 2 do |pt, name| find_by_name(name) end mcfly_lookup :lookup_all, sig: 1 do |pt| all end end
Version data entries
15 entries across 15 versions & 1 rubygems