class PhisherPhinder::LinkHost
Attributes
body[RW]
headers[RW]
host_information[RW]
status_code[RW]
url[RW]
Public Class Methods
new(url:, body:, status_code:, headers:, host_information:)
click to toggle source
# File lib/phisher_phinder/link_host.rb, line 7 def initialize(url:, body:, status_code:, headers:, host_information:) @url = url @body = body @status_code = status_code @headers = headers @host_information = host_information end
Public Instance Methods
==(other)
click to toggle source
# File lib/phisher_phinder/link_host.rb, line 15 def ==(other) url == other.url && body == other.body && status_code == other.status_code && headers == other.headers && host_information == other.host_information end