Class: Assistant::SalesManagementToolBuilder
- Inherits:
-
Object
- Object
- Assistant::SalesManagementToolBuilder
- Defined in:
- app/services/assistant/sales_management_tool_builder.rb
Overview
Front-door for the sales-management tool family. The implementation is
split across Assistant::SalesManagement::{BriefTools, EmployeeTools, PipelineTools} so each domain stays digestible — see
.agents/skills/god-object-decomposition. This class concatenates their tool
lists and re-exports the entry points the tests + factories call.
Constant Summary collapse
- MAX_RESULTS =
SalesManagement::EmployeeTools::MAX_RESULTS
Class Method Summary collapse
- .customer_brief ⇒ Object
- .find_employee ⇒ Object
-
.opportunity_brief ⇒ Object
── Delegating entry points ───────────────────────────────────── Kept for backwards compatibility with anything that still calls
Assistant::SalesManagementToolBuilder.foodirectly (tests, ad-hoc rails-runner scripts, future call sites). - .pipeline_summary ⇒ Object
- .recent_calls ⇒ Object
- .rep_performance ⇒ Object
- .rep_workload ⇒ Object
- .team_availability ⇒ Object
- .tools ⇒ Object
Class Method Details
.customer_brief ⇒ Object
27 28 29 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 27 def self.customer_brief(**) SalesManagement::BriefTools.customer_brief(**) end |
.find_employee ⇒ Object
31 32 33 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 31 def self.find_employee(**) SalesManagement::EmployeeTools.find_employee(**) end |
.opportunity_brief ⇒ Object
── Delegating entry points ─────────────────────────────────────
Kept for backwards compatibility with anything that still calls
Assistant::SalesManagementToolBuilder.foo directly (tests, ad-hoc
rails-runner scripts, future call sites). New code should reach for
the sub-builder module so the grouping stays meaningful.
23 24 25 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 23 def self.opportunity_brief(**) SalesManagement::BriefTools.opportunity_brief(**) end |
.pipeline_summary ⇒ Object
39 40 41 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 39 def self.pipeline_summary(**) SalesManagement::PipelineTools.pipeline_summary(**) end |
.recent_calls ⇒ Object
51 52 53 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 51 def self.recent_calls(**) SalesManagement::PipelineTools.recent_calls(**) end |
.rep_performance ⇒ Object
47 48 49 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 47 def self.rep_performance(**) SalesManagement::PipelineTools.rep_performance(**) end |
.rep_workload ⇒ Object
43 44 45 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 43 def self.rep_workload(**) SalesManagement::PipelineTools.rep_workload(**) end |
.team_availability ⇒ Object
35 36 37 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 35 def self.team_availability(**) SalesManagement::EmployeeTools.team_availability(**) end |
.tools ⇒ Object
12 13 14 15 16 |
# File 'app/services/assistant/sales_management_tool_builder.rb', line 12 def self.tools SalesManagement::BriefTools.tools + SalesManagement::EmployeeTools.tools + SalesManagement::PipelineTools.tools end |