Class: GCPT::BuildReport::ReportInfo

Inherits:
Object
  • Object
show all
Includes:
JSONable
Defined in:
lib/gcpt/build_report/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JSONable

#as_json, included, #to_json

Constructor Details

#initializeReportInfo

Returns a new instance of ReportInfo.



83
84
85
86
87
# File 'lib/gcpt/build_report/models.rb', line 83

def initialize
  super
  self.protocol_version = 3
  self.platform = 'ios'
end

Instance Attribute Details

#app_idObject

string



70
71
72
# File 'lib/gcpt/build_report/models.rb', line 70

def app_id
  @app_id
end

#application_idObject

string



71
72
73
# File 'lib/gcpt/build_report/models.rb', line 71

def application_id
  @application_id
end

#base_infoObject

object, BaseInfo



75
76
77
# File 'lib/gcpt/build_report/models.rb', line 75

def base_info
  @base_info
end

#build_beginObject

number, seconds, TODO:



72
73
74
# File 'lib/gcpt/build_report/models.rb', line 72

def build_begin
  @build_begin
end

#build_endObject

number, seconds, TODO:



73
74
75
# File 'lib/gcpt/build_report/models.rb', line 73

def build_end
  @build_end
end

#build_logObject

string, TODO:



79
80
81
# File 'lib/gcpt/build_report/models.rb', line 79

def build_log
  @build_log
end

#build_resultObject

string, success/failed



81
82
83
# File 'lib/gcpt/build_report/models.rb', line 81

def build_result
  @build_result
end

#build_spendsObject

list, [BuildMatric]



80
81
82
# File 'lib/gcpt/build_report/models.rb', line 80

def build_spends
  @build_spends
end

#env_infoObject

object, ENVInfo



77
78
79
# File 'lib/gcpt/build_report/models.rb', line 77

def env_info
  @env_info
end

#gsdk_infoObject

object, GsdkInfo



76
77
78
# File 'lib/gcpt/build_report/models.rb', line 76

def gsdk_info
  @gsdk_info
end

#platformObject

string # ios



68
69
70
# File 'lib/gcpt/build_report/models.rb', line 68

def platform
  @platform
end

#project_infoObject

object, ProjectInfo



78
79
80
# File 'lib/gcpt/build_report/models.rb', line 78

def project_info
  @project_info
end

#protocol_versionObject

autofill



67
68
69
# File 'lib/gcpt/build_report/models.rb', line 67

def protocol_version
  @protocol_version
end