Class: SolidLoop::Admin::BaseQuery
- Inherits:
-
Object
- Object
- SolidLoop::Admin::BaseQuery
- Defined in:
- app/queries/solid_loop/admin/base_query.rb
Direct Known Subclasses
EventsQuery, LoopsQuery, McpInboundSessionsQuery, McpSessionsQuery, McpToolsQuery, MessagesQuery, ToolCallsQuery
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(params, scope:) ⇒ BaseQuery
constructor
A new instance of BaseQuery.
Constructor Details
#initialize(params, scope:) ⇒ BaseQuery
Returns a new instance of BaseQuery.
6 7 8 9 |
# File 'app/queries/solid_loop/admin/base_query.rb', line 6 def initialize(params, scope:) @params = params @scope = scope end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
4 5 6 |
# File 'app/queries/solid_loop/admin/base_query.rb', line 4 def params @params end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
4 5 6 |
# File 'app/queries/solid_loop/admin/base_query.rb', line 4 def scope @scope end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/queries/solid_loop/admin/base_query.rb', line 11 def call scope end |