class Fastlane::Helper::BuildSummary

Public Class Methods

new(json_obj) click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 37
def initialize(json_obj)
  @object = json_obj
end

Public Instance Methods

build_path() click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 41
def build_path
  @object['outputPath']
end
is_android?() click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 49
def is_android?
  @object['platform'] == 13
end
is_ios?() click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 53
def is_ios?
  @object['platform'] == 9
end
kv() click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 57
def kv
  @object.merge!(
    {
      "android" => self.is_android?,
      "ios" => self.is_ios?,
    })
end
success?() click to toggle source
# File lib/fastlane/plugin/unity3d/helper/unity3d_helper.rb, line 45
def success?
  @object['result'] == 1
end