Method: Unifi::Client#block_sta
- Defined in:
- lib/unifi/client/main.rb
#block_sta(mac) ⇒ Object
326 327 328 329 330 |
# File 'lib/unifi/client/main.rb', line 326 def block_sta(mac) body = { cmd: 'block-sta', mac: mac.downcase } response = self.class.post("/s/#{@site}/cmd/stamgr", { body: body.to_json }) response.parsed_response end |