Class: SimpleDeployer::Command::Projects
- Inherits:
-
CommandsBase
- Object
- CommandsBase
- SimpleDeployer::Command::Projects
- Defined in:
- lib/simple_deployer/commands/projects.rb
Instance Method Summary collapse
Methods inherited from CommandsBase
Constructor Details
This class inherits a constructor from SimpleDeployer::Command::CommandsBase
Instance Method Details
#main ⇒ Object
5 6 7 8 9 10 |
# File 'lib/simple_deployer/commands/projects.rb', line 5 def main projects = @service.projects_list() projects.each do |pr| p "Name:" + pr["name"] + "; id:" + pr["id"] + "; active servers:"+pr["num_servers"].to_s end end |