Method: Unifi::Client::Main#unblock_sta

Defined in:
lib/unifi/client/main.rb

#unblock_sta(mac) ⇒ Object



319
320
321
322
323
# File 'lib/unifi/client/main.rb', line 319

def unblock_sta(mac)
  body = { cmd: 'unblock-sta', mac: mac.downcase }
  response = self.class.post("/s/#{@site}/cmd/stamgr", { body: body.to_json })
  response.parsed_response
end