class PlatformAPI::Stack

Stacks are the different application execution environments available in the Heroku platform.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 3090
def initialize(client)
  @client = client
end

Public Instance Methods

info(stack_name_or_stack_id) click to toggle source

Stack info.

@param stack_name_or_stack_id: unique name of stack or unique identifier of stack

# File lib/platform-api/client.rb, line 3097
def info(stack_name_or_stack_id)
  @client.stack.info(stack_name_or_stack_id)
end
list() click to toggle source

List available stacks.

# File lib/platform-api/client.rb, line 3102
def list()
  @client.stack.list()
end