class GoogleSafeBrowsing::HashHelper::GsbHash
Public Class Methods
new(hash)
click to toggle source
# File lib/google_safe_browsing/hash_helper.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
prefix()
click to toggle source
# File lib/google_safe_browsing/hash_helper.rb, line 9 def prefix @hash[0..7] end
to_s()
click to toggle source
# File lib/google_safe_browsing/hash_helper.rb, line 13 def to_s @hash end