Sha256: 76bd77d8fbba44d0018ad13f325b2eeecea090113b67a4a70a96a8ec380a4570

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

class GrandStream < Oxidized::Model
  using Refinements

  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

4 entries across 4 versions & 1 rubygems

Version Path
oxidized-0.31.0 lib/oxidized/model/grandstream.rb
oxidized-0.30.1 lib/oxidized/model/grandstream.rb
oxidized-0.30.0 lib/oxidized/model/grandstream.rb
oxidized-0.29.1 lib/oxidized/model/grandstream.rb