Sha256: 1dca2138bccc67208f1074622d1189364455eff51317c9b1227a11acb01ec676

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-api-0.1.3 lib/jets/api/stack.rb
jets-api-0.1.2 lib/jets/api/stack.rb
jets-api-0.1.1 lib/jets/api/stack.rb
jets-api-0.1.0 lib/jets/api/stack.rb