Sha256: 4bd3f329ff95ef6899fe8c81326a2ab773c82ce9efa8ae34fd3961544a11bfd5
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 Bytes
Contents
class SecurityInstrument < ActiveRecord::Base has_mcfly append_only: true 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
6 entries across 6 versions & 1 rubygems