Class: Fetcher::Notion::PtoNextWeek

Inherits:
Base
  • Object
show all
Defined in:
lib/bas/fetcher/notion/use_case/pto_next_week.rb

Overview

This class is an implementation of the Fetcher::Notion::Base interface, specifically designed for fetching next week Paid Time Off (PTO) data from Notion.

Constant Summary

Constants inherited from Base

Base::NOTION_BASE_URL

Instance Attribute Summary

Attributes inherited from Base

#config

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Fetcher::Base

Instance Method Details

#fetchObject

Implements the data fetching filter for next week PTO’s data from Notion.



14
15
16
17
18
# File 'lib/bas/fetcher/notion/use_case/pto_next_week.rb', line 14

def fetch
  filter = build_filter

  execute(filter)
end