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.



962
963
964
# File 'lib/platform-api/client.rb', line 962

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



970
971
972
# File 'lib/platform-api/client.rb', line 970

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