Module: ClassLink::RequestSigning
- Included in:
- Interface
- Defined in:
- lib/classlink_client/request_signing.rb
Instance Method Summary collapse
Instance Method Details
#request(url) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/classlink_client/request_signing.rb', line 8 def request(url) if proxy_api get(url, "Bearer #{access_token}") else get(url, auth_header(url)) end end |