lib/ronin/recon/values/url.rb in ronin-recon-0.1.0.rc1 vs lib/ronin/recon/values/url.rb in ronin-recon-0.1.0.rc2

- old
+ new

@@ -19,10 +19,11 @@ # require 'ronin/recon/value' require 'uri' +require 'base64' module Ronin module Recon module Values # @@ -147,11 +148,11 @@ end # # Compares the value to another value. # - # @param [Values::Value] other + # @param [Value] other # # @return [Boolean] # def eql?(other) other.kind_of?(self.class) && @uri == other.uri @@ -190,10 +191,9 @@ def as_json hash = {type: :url, url: @uri.to_s} hash[:status] = @status if @status hash[:headers] = @headers if @headers - hash[:body] = @body if @body return hash end #