Sha256: 98c1cf16a6e46abc13094f0fcfff87c37fc7d2e9fbcc8ed8191d2b4f95ee5a30
Contents?: true
Size: 494 Bytes
Versions: 8
Compression:
Stored size: 494 Bytes
Contents
# typed: strict # frozen_string_literal: true module DearInventory class RequestError < Error extend T::Sig sig { returns(T.nilable(DearInventory::Response)) } attr_reader :response sig do params( message: T.nilable(String), response: T.nilable(DearInventory::Response) ).void end def initialize(message = nil, response = nil) super(message) @response = T.let(response, T.nilable(DearInventory::Response)) end end end
Version data entries
8 entries across 8 versions & 1 rubygems