Sha256: 6257a81c5d351f2bdbc0d607622af7fa8451e4693e3e0608c7fedea0bbbbdcce
Contents?: true
Size: 322 Bytes
Versions: 6
Compression:
Stored size: 322 Bytes
Contents
module Voog # Raised when Voog API returns a 301 HTTP status code class MovedPermanently < StandardError attr_reader :response def initialize(response, hostname) @response = response super("#{hostname} is permanently redirected to #{response.headers['location'] if response}") end end end
Version data entries
6 entries across 6 versions & 1 rubygems