Class: NetworkExecutive::OffAir

Inherits:
Program
  • Object
show all
Defined in:
app/programs/network_executive/off_air.rb

Instance Method Summary collapse

Methods inherited from Program

find_by_name, inherited, #name, #onload, #onshow, #onupdate, #play, #refresh, #update

Instance Method Details

#display_nameObject



5
6
7
# File 'app/programs/network_executive/off_air.rb', line 5

def display_name
  'Off Air'
end

#durationObject



13
14
15
# File 'app/programs/network_executive/off_air.rb', line 13

def duration
  Guide::Interval.minutes
end

#urlObject



9
10
11
# File 'app/programs/network_executive/off_air.rb', line 9

def url
  NetworkExecutive::Engine.routes.url_helpers.program_path 'off_air'
end