Sha256: e50e87a5f5df56c3ec810e8db9da809b9e6aa75c33e491805435b9c2e8899bb6
Contents?: true
Size: 811 Bytes
Versions: 28
Compression:
Stored size: 811 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 attribute :verbose attribute :streaming attribute :request_url, aliases: :request has_one :account has_one :environment has_one :application has_one :user def request self.request_url && self.connection.requests.get(self.request_url.split("/").last) end def timeout(message=nil) merge_attributes(self.connection.timeout_deployment("id" => self.id, "message" => message).body["deployment"]) end end
Version data entries
28 entries across 28 versions & 2 rubygems