Class: MissionControl::Web::Route

Inherits:
ApplicationRecord show all
Includes:
Applications
Defined in:
app/models/mission_control/web/route.rb

Defined Under Namespace

Modules: Applications

Instance Method Summary collapse

Instance Method Details

#applicationObject



7
8
9
# File 'app/models/mission_control/web/route.rb', line 7

def application
  @application ||= MissionControl::Web::Application.find!(application_id)
end

#disabled?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/models/mission_control/web/route.rb', line 11

def disabled?
  !enabled?
end