Method: BBGAPI::LB_Services.recurse
- Defined in:
- lib/bbgapi/lb_services.rb
.recurse ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/bbgapi/lb_services.rb', line 24 def self.recurse apps = BBGAPI::LB_Applications.only_name_id choose do || .prompt = "Which Application?" apps.each {|k| .choices(k["name"]) { BBGAPI::LB_Applications.set_app(k["id"]) cur_app = k["id"] } } end return BBGAPI::LB_Applications.get_app end |