Class: Uploadcare::Param::SimpleAuthHeader
- Inherits:
-
Object
- Object
- Uploadcare::Param::SimpleAuthHeader
- Defined in:
- lib/uploadcare/param/simple_auth_header.rb
Overview
This object returns simple header for authentication Simple header is relatively unsafe, but can be useful for debug and development
Class Method Summary collapse
Class Method Details
.call ⇒ Object
9 10 11 |
# File 'lib/uploadcare/param/simple_auth_header.rb', line 9 def self.call { Authorization: "Uploadcare.Simple #{Uploadcare.config.public_key}:#{Uploadcare.config.secret_key}" } end |