Class: PlatformAPI::BuildResult

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.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.


1002
1003
1004
# File 'lib/platform-api/client.rb', line 1002

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


1010
1011
1012
# File 'lib/platform-api/client.rb', line 1010

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