Sha256: 47ba004109bc37801768b998c5b7581043b68c9d18fef62eef92a40a756a4404
Contents?: true
Size: 691 Bytes
Versions: 2
Compression:
Stored size: 691 Bytes
Contents
module Ruroku class Process < NestedBase attribute :process, String attribute :type, String attribute :command, String attribute :upid, String attribute :slug, String attribute :action, String attribute :state, String attribute :pretty_state, String attribute :elapsed, Integer attribute :rendezvous_url, String attribute :attached, Boolean, default: false attribute :transitioned_at, Time resource_id :process # Public: Restart the process. def restart api.post_ps_restart app.name, 'ps' => process end # Public: Stop the process. def stop api.post_ps_stop app.name, 'ps' => process end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruroku-0.0.3 | lib/ruroku/process.rb |
ruroku-0.0.2 | lib/ruroku/process.rb |