Sha256: f1eed4ca4856748680fff61dc0c829da2fa206da6fd17d6a41b7ffd85b613d2d
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true require 'csv' module VerifyRedirects class Result attr_reader :success, :start_url, :redirected_to, :expected_redirect def initialize(success:, start_url:, redirected_to:, expected_redirect:) @success = success @start_url = start_url @redirected_to = redirected_to @expected_redirect = expected_redirect end def to_a [success, start_url, redirected_to, expected_redirect] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
verify_redirects-0.2.1 | lib/verify_redirects/result.rb |
verify_redirects-0.2.0 | lib/verify_redirects/result.rb |
verify_redirects-0.1.1 | lib/verify_redirects/result.rb |