Module: DeploymentPlatform

Included in:
Project
Defined in:
app/models/concerns/deployment_platform.rb

Instance Method Summary collapse

Instance Method Details

#deployment_platform(environment: nil) ⇒ Object

rubocop:disable Gitlab/ModuleWithInstanceVariables


5
6
7
8
9
# File 'app/models/concerns/deployment_platform.rb', line 5

def deployment_platform(environment: nil)
  @deployment_platform ||= {}

  @deployment_platform[environment] ||= find_deployment_platform(environment)
end