Faraday Decode XML

GitHub Workflow Status Gem License

Faraday middleware for decoding XML requests.

Installation

Add this line to your application's Gemfile:

gem "faraday-decode_xml"

And then execute:

bundle install

Or install it yourself as:

gem install faraday-decode_xml

Usage

require "faraday/decode_xml"

Faraday.new { |faraday| faraday.response :xml }

Development

After checking out the repo, run bin/setup to install dependencies.

Then, run bin/test to run the tests.

To install this gem onto your local machine, run rake build.

To release a new version, make a commit with a message such as "Bumped to 0.0.2" and then run rake release. See how it works here.

To run prettier, run rake prettier

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.