class
ShellyplugExporter::Gen::PlugClientGen1
- ShellyplugExporter::Gen::PlugClientGen1
- Reference
- Object
Defined in:
shellyplug_exporter/gen/plug_client_gen1.crConstant Summary
-
SETTINGS_ENDPOINT =
"/settings" -
STATUS_ENDPOINT =
"/status"
Class Method Summary
- .fetch_settings(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response
- .fetch_status(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response
- .request(client, config : ShellyplugExporter::PlugConfig, endpoint) : HTTP::Client::Response
Class Method Detail
def self.fetch_settings(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response
#
def self.fetch_status(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response
#
def self.request(client, config : ShellyplugExporter::PlugConfig, endpoint) : HTTP::Client::Response
#