Sha256: 757d9d37382cb19456cc0d705be3fd5e27f14da97c9bcc9ed59562dbea18ad0d
Contents?: true
Size: 319 Bytes
Versions: 12
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Immoscout module Errors # Representation of a failed API request/response. class Failed < StandardError def initialize(response) @status = response.status @body = response.body super(["HTTP #{@status}", @body]) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems