Class: Onair::Snapshot

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

Overview

What a platform adapter returns. latest_built_sha is the newest successfully built sha (rollback detection); succeeded_shas lists all recent succeeded build shas, newest first ("yours had its own deploy").

Instance Attribute Summary collapse

Instance Attribute Details

#deployedObject (readonly)

Returns the value of attribute deployed

Returns:

  • (Object)

    the current value of deployed



20
21
22
# File 'lib/onair.rb', line 20

def deployed
  @deployed
end

#latest_built_shaObject (readonly)

Returns the value of attribute latest_built_sha

Returns:

  • (Object)

    the current value of latest_built_sha



20
21
22
# File 'lib/onair.rb', line 20

def latest_built_sha
  @latest_built_sha
end

#pendingObject (readonly)

Returns the value of attribute pending

Returns:

  • (Object)

    the current value of pending



20
21
22
# File 'lib/onair.rb', line 20

def pending
  @pending
end

#succeeded_shasObject (readonly)

Returns the value of attribute succeeded_shas

Returns:

  • (Object)

    the current value of succeeded_shas



20
21
22
# File 'lib/onair.rb', line 20

def succeeded_shas
  @succeeded_shas
end