Class: SnapDeploy::Provider::Heroku::API::BuildResult

Inherits:
Object
  • Object
show all
Defined in:
lib/snap_deploy/provider/heroku/api.rb

Overview

A build result contains the output from a build.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ BuildResult

Returns a new instance of BuildResult.



650
651
652
# File 'lib/snap_deploy/provider/heroku/api.rb', line 650

def initialize(client)
  @client = client
end

Instance Method Details

#info(app_id_or_app_name, build_id) ⇒ Object

Info for existing result.

Parameters:

  • app_id_or_app_name:

    unique identifier of app or unique name of app

  • build_id:

    unique identifier of build



658
659
660
# File 'lib/snap_deploy/provider/heroku/api.rb', line 658

def info(app_id_or_app_name, build_id)
  @client.build_result.info(app_id_or_app_name, build_id)
end