Sha256: 1cf6c307394ceceba0474cb1775162b6a1f713813ebd496a68354c9100b31b85
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
# -*- encoding : utf-8 -*- module RailsConnector class BlobMapping < CmsBaseModel 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
infopark_fiona_connector-7.0.1.5.2.3.rc4 | lib/rails_connector/blob_mapping.rb |