Sha256: 458f7697a46e3d5a167f2483daf12385f78eea43fcd0d6c32cdbecbe8872ca27

Contents?: true

Size: 214 Bytes

Versions: 4

Compression:

Stored size: 214 Bytes

Contents

module GoogleSafeBrowsing
  module Shavar
    module ClassMethods
      def delete_chunks_from_list(list, chunk_list)
        where(list: list, chunk_number: chunk_list.to_a).delete_all
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google_safe_browsing-0.6.5 lib/google_safe_browsing/shavar.rb
google_safe_browsing-0.6.4 lib/google_safe_browsing/shavar.rb
google_safe_browsing-0.6.3 lib/google_safe_browsing/shavar.rb
google_safe_browsing-0.6.2 lib/google_safe_browsing/shavar.rb