def get(endpoint, headers = {})
      headers = { accept: :json }.merge(headers)
      @rest_resource[endpoint].get headers
    end
def get(endpoint, headers = {})
      headers = { accept: :json }.merge(headers)
      @rest_resource[endpoint].get headers
    end
rubocop:disable MethodLength
 Initialize the session

 When specifying a config, do not provide other parameters. Likewise,
 if providing uri, user, and password, a config object is not necessary.

 @param [VcoWorkflows::Config] config Configuration object for the connection
 @param [String] uri URI for the vCenter Orchestrator API endpoint
 @param [String] user User name for vCO
 @param [String] password Password for vCO
 @param [Boolean] verify_ssl Whether or not to verify SSL certificates
 rubocop:enable MethodLength, LineLength
 Perform a REST GET operation against the specified endpoint

 @param [String] endpoint REST endpoint to use
 @param [Hash] headers Optional headers to use in request
 @return [String] JSON response body