Readypulse
Ruby wraper for Readypulse API
Installation
Add this line to your application's Gemfile:
gem 'readypulse'
And then execute:
$ bundle
Or install it yourself as:
$ gem install readypulse
Usage
album = Album.new(id: 1) # => #<Album @id="1">
album.name # => "My Very First Curation"
album.description # => "This is my first curation on the ReadyPulse production site."
images = album.images # => #<ImageCollection>
image = album.images.first # => #<Image>
image.types # => ["email", "tile", "square-tile", "mobile-tile", "large", "original"]
image['mobile-tile'] # => #<ImageType @type="mobile-tile">
image['mobile-tile'].url # => 'https://cloudinary-a.akamaihd.net/readypulse/image/upload/c_fill,fl_progressive,h_250,q_75,w_300/v1418764365/ig_3542844_630741923525326235_3542844.jpg'
Contributing
- Fork it ( https://github.com/[my-github-username]/readypulse/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request