Sha256: a414efd52b2951c04293abbba45ff6717899cb4755f7f0041d26c3bc79c98076

Contents?: true

Size: 171 Bytes

Versions: 4

Compression:

Stored size: 171 Bytes

Contents

# frozen_string_literal: true

class HerokuApps
  def run
    JSON.parse(run_command).pluck('name')
  end

  private

  def run_command
    `heroku apps --json`
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renuo-cli-4.5.0 lib/renuo/cli/app/heroku_apps.rb
renuo-cli-4.3.0 lib/renuo/cli/app/heroku_apps.rb
renuo-cli-4.2.1 lib/renuo/cli/app/heroku_apps.rb
renuo-cli-4.2.0 lib/renuo/cli/app/heroku_apps.rb