Sha256: 7fcc5d1f191b7ba8c0097094559eaff399b0504430606af1930dfc0ebf32f080
Contents?: true
Size: 289 Bytes
Versions: 4
Compression:
Stored size: 289 Bytes
Contents
module Jets::Api class Stack < Base class << self def list(params = {}) api.get("/stacks", params) end def retrieve(id, params = {}) id = Jets.project.namespace if id == :current api.get("/stacks/#{id}", params) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jets-6.0.5 | lib/jets/api/stack.rb |
jets-6.0.4 | lib/jets/api/stack.rb |
jets-6.0.3 | lib/jets/api/stack.rb |
jets-6.0.2 | lib/jets/api/stack.rb |