class Psapi::Settings::ChannelCleaner

チャンネルの自動切断

Attributes

inactive_limit[RW]
mode[RW]

Public Class Methods

new(hash) click to toggle source
Calls superclass method Psapi::API_Object::new
# File lib/psapi/settings.rb, line 5
def initialize(hash)
  super
end

Public Instance Methods

mode_string() click to toggle source
# File lib/psapi/settings.rb, line 11
def mode_string
  case mode
  when 0
    '(自動切断しない)'
  when 1
    '接続していない'
  when 2
    '視聴・リレーしていない'
  when 3
    '視聴していない'
  end

end