Sha256: 2ee241f338727ed1bb25e69be65df6f3ac3090ad768bfa766ebddb66925519e5

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

module Jets::Api
  class Stack < Base
    class << self
      def list(params={})
        params = global_params.merge(params)
        api.get("stacks", params)
      end

      def retrieve(id, params={})
        params = global_params.merge(params)
        api.get("stacks/#{id}", params)
      end

      def delete(id, params={})
        params = global_params.merge(params)
        api.delete("stacks/#{id}", params)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jets-api-0.2.0 lib/jets/api/stack.rb
jets-api-0.1.5 lib/jets/api/stack.rb
jets-api-0.1.4 lib/jets/api/stack.rb