Sha256: e1bb4aec97bc4ccfa8670b6ddfebd3d7baa0ad8a7b8238c2b5bd255086eaf554
Contents?: true
Size: 615 Bytes
Versions: 3
Compression:
Stored size: 615 Bytes
Contents
class Ey::Core::Client::Deployment < Ey::Core::Model extend Ey::Core::Associations identity :id, type: :integer attribute :commit attribute :finished_at, type: :time attribute :migrate, type: :boolean attribute :migrate_command attribute :ref attribute :resolved_ref attribute :started_at, type: :time attribute :successful, type: :boolean has_one :account has_one :environment has_one :application has_one :user def timeout(message=nil) merge_attributes(self.connection.timeout_deployment("id" => self.id, "message" => message).body["deployment"]) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ey-core-3.1.2 | lib/ey-core/models/deployment.rb |
ey-core-3.1.1 | lib/ey-core/models/deployment.rb |
ey-core-3.1.0 | lib/ey-core/models/deployment.rb |