Sha256: 151a6a4f9fa6ffe53c8af4652934b13bff39f48e801091aab78b760b481e98b8
Contents?: true
Size: 451 Bytes
Versions: 6
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true require 'bundler' module Chamber module Commands module Heroku def initialize(options = {}) super self.app = options[:app] end protected attr_accessor :app def configuration @configuration ||= heroku('config --shell').chomp end def heroku(command) Bundler.with_clean_env { `heroku #{command}#{app_option}` } end def app_option app ? " --app #{app}" : '' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems