Sha256: f45c68e16b1937f1e5cc7b091edde582dc63cf6a4ba479370d1029bb8216271d
Contents?: true
Size: 634 Bytes
Versions: 8
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true # typed: strict module WhatsappSdk module Api module Responses class DataResponse extend ::T::Sig extend ::T::Helpers abstract! sig { returns(T::Hash[T.untyped, T.untyped]) } attr_reader :raw_data_response sig { params(response: T::Hash[T.untyped, T.untyped]).void } def initialize(response) @raw_data_response = response end sig { abstract.params(response: T::Hash[T.untyped, T.untyped]).returns(T.nilable(DataResponse)) } def self.build_from_response(response:); end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems