blib/lib/SignalWire/Contexts/ContextBuilder.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/SignalWire/REST/PhoneCallHandler.pm ↑ Summary blib/lib/SignalWire/REST/RestClient.pm »
1 package SignalWire::Contexts::ContextBuilder;
2 # Copyright (c) 2025 SignalWire
3 # Licensed under the MIT License.
4 #
5 # This file is a thin loader: the real SignalWire::Contexts::ContextBuilder
6 # package (along with Context, Step, GatherInfo, GatherQuestion, and helpers)
7 # is defined inside lib/SignalWire/Contexts.pm. Loading the parent module
8 # defines all of those packages in one shot.
9 #
10 # Earlier this file shipped a 28-line stub that overrode the real
11 # implementation when AgentBase did `require SignalWire::Contexts::ContextBuilder`.
12 # Now we just re-load the canonical source so the require yields the full DSL.
13  
14 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 17 require SignalWire::Contexts;
18  
19 17 1;
« blib/lib/SignalWire/REST/PhoneCallHandler.pm ↑ Summary blib/lib/SignalWire/REST/RestClient.pm »