Class: Onair::Snapshot
- Inherits:
-
Data
- Object
- Data
- Onair::Snapshot
- 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
-
#deployed ⇒ Object
readonly
Returns the value of attribute deployed.
-
#latest_built_sha ⇒ Object
readonly
Returns the value of attribute latest_built_sha.
-
#pending ⇒ Object
readonly
Returns the value of attribute pending.
-
#succeeded_shas ⇒ Object
readonly
Returns the value of attribute succeeded_shas.
Instance Attribute Details
#deployed ⇒ Object (readonly)
Returns the value of attribute deployed
20 21 22 |
# File 'lib/onair.rb', line 20 def deployed @deployed end |
#latest_built_sha ⇒ Object (readonly)
Returns the value of attribute latest_built_sha
20 21 22 |
# File 'lib/onair.rb', line 20 def latest_built_sha @latest_built_sha end |
#pending ⇒ Object (readonly)
Returns the value of attribute pending
20 21 22 |
# File 'lib/onair.rb', line 20 def pending @pending end |
#succeeded_shas ⇒ Object (readonly)
Returns the value of attribute succeeded_shas
20 21 22 |
# File 'lib/onair.rb', line 20 def succeeded_shas @succeeded_shas end |