Class: Google::SafeBrowsingShavar

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/rails/generators/google/model/templates/google/safe_browsing_shavar.rb

Class Method Summary collapse

Class Method Details

.find_subs_for_add(add_chunk_num, host_key, prefix) ⇒ Object



33
34
35
# File 'lib/rails/generators/google/model/templates/google/safe_browsing_shavar.rb', line 33

def self.find_subs_for_add add_chunk_num, host_key, prefix
  where(chunk_type: CHUNK_TYPE_SUB, add_chunk_num: add_chunk_num, host_key: host_key, prefix: prefix)
end