class ShellyplugExporter::Gen::PlugClientGen1

Defined in:

shellyplug_exporter/gen/plug_client_gen1.cr

Constant Summary

SETTINGS_ENDPOINT = "/settings"
STATUS_ENDPOINT = "/status"

Class Method Summary

Class Method Detail

def self.fetch_settings(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response #

[View source]
def self.fetch_status(client, config : ShellyplugExporter::PlugConfig) : HTTP::Client::Response #

[View source]
def self.request(client, config : ShellyplugExporter::PlugConfig, endpoint) : HTTP::Client::Response #

[View source]