Method: BBGAPI::LB_Backends.raw

Defined in:
lib/bbgapi/lb_backends.rb

.rawObject



71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/bbgapi/lb_backends.rb', line 71

def self.raw
  begin
    cur_app = BBGAPI::LB_Applications.get_app
    cur_service = BBGAPI::LB_Services.get_service
  rescue
    self.recurse
    cur_app = BBGAPI::LB_Applications.get_app
    cur_service = BBGAPI::LB_Services.get_service
  end

  partial = "/api/lb_services/#{cur_service}/lb_backends"
  api_response = BBGAPI::Client.geturl(partial,"")
  return api_response
end