Sha256: 419e686de1097ce2663eb64cfef28a67669ea73f1be051719ac400d0afe92c16
Contents?: true
Size: 875 Bytes
Versions: 1
Compression:
Stored size: 875 Bytes
Contents
# Excon::Addressable [![wercker status](https://app.wercker.com/status/3868c162aa140566b830f517c45d528a/s/master "wercker status")](https://app.wercker.com/project/bykey/3868c162aa140566b830f517c45d528a) Sets [Addressable][] as the default URI parser. Supports parsing [templated uris][]. ## Installation Add this line to your application's Gemfile: ```ruby gem 'excon-addressable' ``` And then execute: $ bundle Or install it yourself as: $ gem install excon-addressable ## Usage ```ruby conn = Excon.new('http://www.example.com/{uid}', expand: { uid: 'hello' }) conn.request.path # => '/hello' ``` ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). [Addressable]: https://github.com/sporkmonger/addressable [templated uris]: https://github.com/sporkmonger/addressable#uri-templates
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
excon-addressable-0.1.1 | README.md |