Sha256: eba2d0293a2ad922f7775fae363d9f2bf132256a9165cc5b9ec256f2377fd13c

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

module Heroku
  class API

    def get_stack(app)
      request(
        :expects  => 200,
        :method   => :get,
        :path     => "/apps/#{escape app}/stack"
      )
    end

    def put_stack(app, stack)
      request(
        :body     => stack,
        :expects  => 200,
        :method   => :put,
        :path     => "/apps/#{escape app}/stack"
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pogoapp-api-0.3.8 lib/heroku/api/stacks.rb