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

Version Path
oxidized-0.29.0 lib/oxidized/model/grandstream.rb
oxidized-0.28.0 lib/oxidized/model/grandstream.rb
oxidized-0.27.0 lib/oxidized/model/grandstream.rb
oxidized-0.26.3 lib/oxidized/model/grandstream.rb
oxidized-0.26.2 lib/oxidized/model/grandstream.rb
oxidized-0.26.1 lib/oxidized/model/grandstream.rb
oxidized-0.26.0 lib/oxidized/model/grandstream.rb