Module: HTTPX::Plugins::Authentication::InstanceMethods

Defined in:
lib/httpx/plugins/authentication.rb

Instance Method Summary collapse

Instance Method Details

#authentication(token) ⇒ Object



13
14
15
# File 'lib/httpx/plugins/authentication.rb', line 13

def authentication(token)
  headers("authorization" => token)
end