transmission-rails/transmission-rpc-ruby

View on GitHub
lib/transmission/fields/session_stats.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Transmission
  class Fields
    class SessionStats < Transmission::Fields

      ATTRIBUTES = [
          {field: 'activeTorrentCount'},
          {field: 'downloadSpeed'},
          {field: 'pausedTorrentCount'},
          {field: 'torrentCount'},
          {field: 'uploadSpeed'},
          {field: 'cumulative-stats'},
          {field: 'current-stats'}
      ]

    end
  end
end