Class: PactBroker::Deployments::ReleasedVersion
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- PactBroker::Deployments::ReleasedVersion
- Defined in:
- lib/pact_broker/deployments/released_version.rb
Instance Method Summary collapse
- #currently_supported ⇒ Object
- #environment_name ⇒ Object
- #record_support_ended ⇒ Object
- #version_number ⇒ Object
Instance Method Details
#currently_supported ⇒ Object
60 61 62 |
# File 'lib/pact_broker/deployments/released_version.rb', line 60 def currently_supported support_ended_at == nil end |
#environment_name ⇒ Object
68 69 70 |
# File 'lib/pact_broker/deployments/released_version.rb', line 68 def environment_name environment.name end |
#record_support_ended ⇒ Object
55 56 57 58 |
# File 'lib/pact_broker/deployments/released_version.rb', line 55 def record_support_ended self.class.where(id: id).record_support_ended refresh end |
#version_number ⇒ Object
64 65 66 |
# File 'lib/pact_broker/deployments/released_version.rb', line 64 def version_number version.number end |