Sha256: b3ccfb08b783b04735f5d16795e054ef31db2b9271a66dc34e09a6c874520336
Contents?: true
Size: 634 Bytes
Versions: 10
Compression:
Stored size: 634 Bytes
Contents
# typed: strict # frozen_string_literal: true 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
10 entries across 10 versions & 1 rubygems