Sha256: cf046208573d38b8c12572a542526f1ad660c25f4a8c7d1d8959390154a047eb
Contents?: true
Size: 595 Bytes
Versions: 55
Compression:
Stored size: 595 Bytes
Contents
# typed: false # frozen_string_literal: true module PathParameter module YettoParameters extend T::Sig sig { returns(String) } def pparam_yetto_event yetto_path_params.fetch(:event, "") end sig { returns(String) } def pparam_yetto_record_type yetto_path_params.fetch(:record_type, "") end sig { returns(T::Hash[String, String]) } def yetto_path_params return {} if path_parameters.blank? { event: path_parameters.fetch(:event, ""), record_type: path_parameters.fetch(:record_type, ""), } end end end
Version data entries
55 entries across 55 versions & 1 rubygems