Class: NetworkExecutive::OffAir
- Inherits:
-
Program
- Object
- Program
- NetworkExecutive::OffAir
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_name ⇒ Object
5
6
7
|
# File 'app/programs/network_executive/off_air.rb', line 5
def display_name
'Off Air'
end
|
#duration ⇒ Object
13
14
15
|
# File 'app/programs/network_executive/off_air.rb', line 13
def duration
Guide::Interval.minutes
end
|
#url ⇒ Object
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
|