Sha256: 1957e7ea0a853a6e8fa5370240f59e487b5327d1575739a136960587219c607c
Contents?: true
Size: 372 Bytes
Versions: 11
Compression:
Stored size: 372 Bytes
Contents
module RailsConnector class BlobMapping < CmsBaseModel def self.exists? table_exists? end def self.get_fingerprint(name) find_by_blob_name(name).fingerprint end def self.get_fingerprint_map(blob_names) Hash[where(blob_name: blob_names).select(%i(blob_name fingerprint)).map { |b| [b.blob_name, b.fingerprint] }] end end end
Version data entries
11 entries across 11 versions & 1 rubygems