Sha256: 7e65bfd1dc2b4832d64160a707ed317889af06a4b9c5ef3eb1e15fc49aff5232
Contents?: true
Size: 250 Bytes
Versions: 7
Compression:
Stored size: 250 Bytes
Contents
class GrandStream < Oxidized::Model cmd "/cgi-bin/dologin?password=%<password>s" do |cfg| # rubocop:disable Style/FormatStringToken sid = JSON.parse(cfg)["body"]["sid"] cmd "/cgi-bin/download_cfg?sid=#{sid}" end cfg :http do end end
Version data entries
7 entries across 7 versions & 1 rubygems