class
ShellyplugExporter::PlugConfig
- ShellyplugExporter::PlugConfig
- Reference
- Object
Overview
Represents the configuration for a single Shelly plug device.
Defined in:
shellyplug_exporter/plug_config.crConstructors
Instance Method Summary
- #auth_password : String | Nil
- #auth_password=(auth_password : String | Nil)
- #auth_username : String | Nil
- #auth_username=(auth_username : String | Nil)
- #host : String
- #host=(host : String)
- #last_request_succeeded : Bool | Nil
- #last_request_succeeded=(last_request_succeeded : Bool | Nil)
- #name : String
- #name=(name : String)
- #port : Int32
- #port=(port : Int32)
Constructor Detail
def self.new(name : String, host : String, port : Int32, auth_username : String | Nil = nil, auth_password : String | Nil = nil, last_request_succeeded : Bool | Nil = nil)
#