Sha256: c54ef85a4bb97af38066c1c090b03c27ed499dfba3d42c9a47ed1a3e6bac16c5
Contents?: true
Size: 219 Bytes
Versions: 16
Compression:
Stored size: 219 Bytes
Contents
# frozen_string_literal: true class ControlplaneApiCli def call(url, method:) response = `cpln rest #{method} #{url} -o json` raise(response) unless $CHILD_STATUS.success? JSON.parse(response) end end
Version data entries
16 entries across 16 versions & 1 rubygems