class Heroploy::Config::Environment

Attributes

app[RW]
checks[RW]
name[RW]
remote[RW]
tag[RW]
variables[RW]

Public Class Methods

new(name = nil, attrs = {}) click to toggle source
# File lib/heroploy/config/environment.rb, line 13
def initialize(name = nil, attrs = {})
  @name = name
  @remote = attrs['remote'] || name
  @app = attrs['app']
  @tag = attrs['tag']
  @variables = attrs['variables'] || {}
  @checks = EnvironmentChecks.new(attrs['checks'])
end