Class: HerokuApps
- Inherits:
-
Object
- Object
- HerokuApps
- Defined in:
- lib/renuo/cli/app/heroku_apps.rb
Instance Method Summary collapse
-
#initialize ⇒ HerokuApps
constructor
A new instance of HerokuApps.
- #run ⇒ Object
Constructor Details
#initialize ⇒ HerokuApps
Returns a new instance of HerokuApps.
2 |
# File 'lib/renuo/cli/app/heroku_apps.rb', line 2 def initialize; end |
Instance Method Details
#run ⇒ Object
4 5 6 |
# File 'lib/renuo/cli/app/heroku_apps.rb', line 4 def run JSON.parse(run_command).map { |app| app['name'] } end |