Sha256: d76506070be60d0dbc2b838fdc2ed5fcfe15d160d1757257c127c5f5d662c466
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
# Faraday::DigestAuth [![Gem Version](https://badge.fury.io/rb/faraday-digestauth.png)](http://badge.fury.io/rb/faraday-digestauth) [![Dependency Status](https://gemnasium.com/bhaberer/faraday-digestauth.png)](https://gemnasium.com/bhaberer/faraday-digestauth) [![Build Status](https://travis-ci.org/bhaberer/faraday-digestauth.png?branch=master)](https://travis-ci.org/bhaberer/faraday-digestauth) [![Coverage Status](https://coveralls.io/repos/bhaberer/faraday-digestauth/badge.png?branch=master)](https://coveralls.io/r/bhaberer/faraday-digestauth?branch=m aster) [![Code Climate](https://codeclimate.com/github/bhaberer/faraday-digestauth.png)](https://codeclimate.com/github/bhaberer/faraday-digestauth) This gem started as a direct copy of a gist belonging to @kapkaev It is located at https://gist.github.com/kapkaev/5088751 I merely gemmed it up so that I could use it in multiple places. ## Installation Add this line to your application's Gemfile: gem 'faraday-digestauth' And then execute: $ bundle Or install it yourself as: $ gem install faraday-digestauth ## Usage ``` require 'faraday' require 'faraday/digestauth' @conn = Faraday.new(url: HOSTNAME) do |f| f.request :digest, USERNAME, PASSWORD f.adapter Faraday.default_adapter end @conn.get 'resource' ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faraday-digestauth-0.2.0 | README.md |