Class: BrowserStack::ApiStatus

Inherits:
ApiRequest show all
Defined in:
lib/browser_stack/api_status.rb

Instance Attribute Summary

Attributes inherited from ApiRequest

#config, #http_client, #params, #request, #response, #uri

Class Method Summary collapse

Methods inherited from ApiRequest

#api_error?, #authenticate, #commit, #error_message, #get_http_client, #parse_response, #set_uri

Class Method Details

.get_statusObject



4
5
6
7
8
# File 'lib/browser_stack/api_status.rb', line 4

def get_status
  api_status = ApiStatus.new
  api_status.commit("/status")
  api_status
end