This is an example showing how to use the media upload API of Mogreet with Rails.