class Heroploy::Config::EnvironmentChecks
Attributes
branch[RW]
pushed[RW]
staged[RW]
travis[RW]
Public Class Methods
new(attrs = {})
click to toggle source
# File lib/heroploy/config/environment_checks.rb, line 9 def initialize(attrs = {}) attrs ||= {} @pushed = attrs['pushed'] @branch = attrs['branch'] @staged = attrs['staged'] == true ? 'staging' : attrs['staged'] @travis = attrs['travis'] end