Sha256: 4ed6236cb0844e96e660c7109677a8c70952634452f62eaeaf9d86e4a3c58813

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

# Imgix

Ruby Gem for signing [imgix](http://imgix.com) URLs.

## Installation

Add this line to your application's Gemfile:

    gem 'imgix'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install imgix

## Usage

``` ruby
client = Imgix::Client.new(host: 'your-subdomain.imgix.net', token: 'your-token', secure: true)
client.sign_path('/images/demo.png?w=200')
#=> http://foo.imgix.net/images/demo.png?w=200&s=da421114ca238d1f4a927b889f67c34e
```

## 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
imgix-0.1.0 Readme.markdown