A Ruby API for the Movable Ink API -- In development stage
Ruby
Latest commit 4de81e3 Feb 22, 2014 Brian Doll Create LICENSE
Permalink
Failed to load latest commit information.
lib
test added support for deleting live pics Sep 17, 2011
.gitignore
Gemfile
History.md
LICENSE
README.md added support for deleting live pics Sep 17, 2011
Rakefile first round of hacking Sep 16, 2011
TODO.md
movableink-api.gemspec first round of hacking Sep 16, 2011

README.md

movableink-api

Movable Ink provides "Real-time Content for Email". This ruby gem provides a convenient wrapper to access the Movable Ink API.

Installation

gem install movableink-api

Usage

Put movableink-api in your Gemfile:

gem 'movableink-api'

Include the Module:

include MovableInk

Real-Time Content:

MovableInkClient.live_pics
# => [#<LivePic collection_id=nil, ...>, ...]

MovableInkClient.live_pic '123'
# => #<LivePic id=123, ...>

MovableInkClient.live_pic_stats '123'
# => #<LivePicStats id=123, ...>

lp = LivePic.new
lp.name = "My Name"
...
new_live_pic = MovableInkClient.create_live_pic lp
# => #<LivePic id=123, ...>

MovableInkClient.update_live_pic
# => #<LivePic id=123, ...>

lp = MovableInkClient.live_pics.first
MovableInkClient.delete_live_pic lp
# => true

Creative Optimizers

Not implemented yet

Live Tweets

Not implemented yet

Notes

See History.md for a list of changes and contributors

See TODO.md for a list of pending features and known issues

In order to run the tests, add your API token to tests/helper.rb

Author

Brian Doll, @briandoll, emphaticsolutions.com