def request(path, options={})
      response = @connection.get do |req|
        req.url path
        req.params[:api_key] = @access_token
        options.each do |key, val|
          req.params[key] = val
        end
      end
      response.body
    end
def request(path, options={})
      response = @connection.get do |req|
        req.url path
        req.params[:api_key] = @access_token
        options.each do |key, val|
          req.params[key] = val
        end
      end
      response.body
    end
Public: Initialize a client for API requests.

 options - The Hash with options required by Behance:
           :access_token - Behance API token.

 Examples

   @client = Behance::Client.new(access_token: "aKlie12MCJa5")

 Returns a Faraday instance object.
 Public: Makes a http request to the API.

 path     - A String that represents the endpoint path.
 options  - Hash of parameters to pass along.

 Examples

   request("users/1")
   request("projects", page: 2)

 Returns a response body from the API.