Class: Onair::Deployed

Inherits:
Data
  • Object
show all
Defined in:
lib/onair.rb

Overview

The release currently running in production. sha may be nil when the platform can't resolve the running commit; version/description still render.

Instance Attribute Summary collapse

Instance Attribute Details

#deployed_atObject (readonly)

Returns the value of attribute deployed_at

Returns:

  • (Object)

    the current value of deployed_at



13
14
15
# File 'lib/onair.rb', line 13

def deployed_at
  @deployed_at
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



13
14
15
# File 'lib/onair.rb', line 13

def description
  @description
end

#shaObject (readonly)

Returns the value of attribute sha

Returns:

  • (Object)

    the current value of sha



13
14
15
# File 'lib/onair.rb', line 13

def sha
  @sha
end

#versionObject (readonly)

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



13
14
15
# File 'lib/onair.rb', line 13

def version
  @version
end