Sha256: d37d1fc53a83ddffa62d44cef55397156a23b9b83241a9c1b2cd2086e20dfd6c
Contents?: true
Size: 341 Bytes
Versions: 11
Compression:
Stored size: 341 Bytes
Contents
# typed: strict # frozen_string_literal: true module Setsuzoku # The generic API response object that all API responses should return. class ApiResponse < T::Struct prop :data, T.nilable(T::Hash[Symbol, T.untyped]), default: {} prop :success, T::Boolean, default: false prop :error, T.nilable(String), default: nil end end
Version data entries
11 entries across 11 versions & 1 rubygems