DataSourcePoller
Specs data source poller class.
Description Description
This handles polling specs from JSON endpoints, and stores the specs in to the database as an option.
Source Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/DataSourcePoller.php
Methods Methods
- get_logger — Get the logger instance.
- merge_specs — Merge the specs.
- read_data_source — Read a single data source and return the read specs
- read_specs_from_data_sources — Reads the data sources for specs and persists those specs.
- validate_action — Validate the action.
- validate_spec — Validate the spec.