Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Failed to load latest commit information.
lib/faraday Release 1.0.1
test Make `rake console` more useful
.gitignore Ignore pkg/ dir
Gemfile Release 1.0.0
LICENSE.md Release 1.0.0
README.md Release 1.0.0
Rakefile Make `rake console` more useful
faraday-auth-hmac.gemspec Release 1.0.1

README.md

Faraday AuthHMAC

HMAC Signing for Faraday Requests

Enables signing your requests (from Faraday) with AuthHMAC.

Usage

require 'faraday'
require 'faraday/auth-hmac'

c = Faraday.new do |b|
  b.request :auth_hmac # enables request signing
  b.adapter :net_http
end

c.get('http://localhost/') do |r|
  # signs the request with the access_id and the secret
  r.sign! 'access_id', 'secret'
end

Contributing

  • Fork
  • Work on a topic branch
  • Write tests
  • Add/fix/etc
  • Create a Pull Request
Something went wrong with that request. Please try again.