class
ShellyplugExporter::Gen::PlugClientGen2
- ShellyplugExporter::Gen::PlugClientGen2
- Reference
- Object
Defined in:
shellyplug_exporter/gen/plug_client_gen2.crConstant Summary
-
RPC_CONFIG_ENDPOINT =
"/rpc/Shelly.GetConfig" -
RPC_STATUS_ENDPOINT =
"/rpc/Shelly.GetStatus"
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.request(client, config : ShellyplugExporter::PlugConfig, endpoint) : HTTP::Client::Response
#