Module: WrAPI::Connection

Included in:
API
Defined in:
lib/wrapi/connection.rb

Overview

Create connection including authorization parameters with default Accept format and User-Agent By default

  • Bearer authorization is access_token is not nil override with @setup_authorization

  • Headers setup for client-id and client-secret when client_id and client_secret are not nil @setup_headers