lib/wayfarer/networking/result.rb in wayfarer-0.4.3 vs lib/wayfarer/networking/result.rb in wayfarer-0.4.4

- old
+ new

@@ -1,18 +1,10 @@ # frozen_string_literal: true module Wayfarer module Networking - # Wrapper structs for page retrieval results. module Result - # Signals that a page has been retrieved (2xx or no browser error). - # @!attribute [rw] page - # @return [Page] the retrieved page. Success = Struct.new(:page) - - # Signals that a URL resulted in response with 3xx. - # @!attribute [rw] redirect_url - # @return [URI] Where to go next. Redirect = Struct.new(:redirect_url) end end end