class Fastlane::Helper::CircleCiHelper

Public Class Methods

execute(curl_command) click to toggle source
# File lib/fastlane/plugin/circle_ci/helper/circle_ci_helper.rb, line 8
def self.execute(curl_command)
  response = Fastlane::Actions::sh("#{curl_command}", log: false)

  require 'json'
  JSON.parse(response) || {}
end