Sha256: c6c7b76cee6df4328d834d77944129e47f2d8d43c97e7ae28e40fe051245aa07
Contents?: true
Size: 299 Bytes
Versions: 4
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module FreightKit class ResponseError < Error attr_reader :response def initialize(response = nil) if response.is_a?(Response) super(response.message) @response = response else super(response) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems