Sha256: d3f7079d4a3f1dfdf2b50be453f1258b0430a1fdcd4f0b220502ffb6aa3831d2
Contents?: true
Size: 429 Bytes
Versions: 28
Compression:
Stored size: 429 Bytes
Contents
# -*- encoding : utf-8 -*- module RailsConnector class BlobMapping < RailsConnector::AbstractModel def self.exists? self.table_exists? end def self.get_fingerprint(name) find_by_blob_name(name).fingerprint end def self.get_fingerprint_map(blob_names) Hash[self.where(:blob_name => blob_names).select([:blob_name, :fingerprint]).map {|b| [b.blob_name, b.fingerprint] }] end end end
Version data entries
28 entries across 28 versions & 1 rubygems