Class: Ey::Core::Client::Deployment

Inherits:
Model
  • Object
show all
Extended by:
Associations
Defined in:
lib/ey-core/models/deployment.rb

Instance Method Summary collapse

Methods included from Associations

assoc_accessor, assoc_coverage, assoc_reader, assoc_writer, associations, collection_reader

Methods inherited from Model

#destroy, range_parser, #save, #update!, #url

Instance Method Details

#timeout(message = nil) ⇒ Object



20
21
22
# File 'lib/ey-core/models/deployment.rb', line 20

def timeout(message=nil)
  merge_attributes(self.connection.timeout_deployment("id" => self.id, "message" => message).body["deployment"])
end