Class: Fetcher::Notion::WorkItemsLimit
- Defined in:
- lib/bas/fetcher/notion/use_case/work_items_limit.rb
Overview
This class is an implementation of the Fetcher::Notion::Base interface, specifically designed for counting “in progress” work items from work item database in Notion.
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#fetch ⇒ Object
Implements the data fetching count of “in progress” work items from Notion.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Fetcher::Base
Instance Method Details
#fetch ⇒ Object
Implements the data fetching count of “in progress” work items from Notion.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/bas/fetcher/notion/use_case/work_items_limit.rb', line 14 def fetch filter = { filter: { "and": [ { property: "OK", formula: { string: { contains: "✅" } } }, { "or": status_conditions } ] } } execute(filter) end |