Method: Bandshell::PlayerInfo#initialize
- Defined in:
- lib/bandshell/player_info.rb
#initialize ⇒ PlayerInfo
Returns a new instance of PlayerInfo.
18 19 20 21 22 |
# File 'lib/bandshell/player_info.rb', line 18 def initialize @last_update = Time.new(0) @shelf_life = 60 @on_off_rules = [{"action"=>"on"}] # default to always-on end |