Method: BBGAPI::LB_Easy.menulist
- Defined in:
- lib/bbgapi/lb_easy.rb
.menulist(config) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/bbgapi/lb_easy.rb', line 4 def self.(config) @@config = config #["bluebox_customer_id"] puts BBGAPI.dnssuffix choose do || puts "Load Balancer Easy Functions" puts "----------------------------------------" .prompt = "Which Action?" .choices(:get_haproxy_login) {self.haproxy_login} .choices(:find_machines_in_pool) {self.machines_in_pool} .choices(:remove_machine_in_pool) {self.remove_machine_in_pool} end end |