Class: Fetcher::Postgres::PtoToday

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

Overview

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

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 query for todays PTO data from a Postgres database.



14
15
16
# File 'lib/bas/fetcher/postgres/use_case/pto_today.rb', line 14

def fetch
  execute(build_query)
end