Resources



Sample Code and Libraries

DevPay Example for Amazon S3 in Ruby

Click for a printer friendly version of this document Printer Friendly Save to del.icio.us
 

DevPay sample console application in Ruby, demonstrating application activation with REST calls to the License Service and subsequent calls to Amazon S3 as a desktop, web or developer application.

Submitted By: david@aws  
AWS Products Used: Amazon S3, Amazon DevPay
Language(s): Ruby
License: Apache License 2.0

About DevPay

About This Sample

  • A sample Ruby console application demonstrating DevPay calls to Amazon S3, intended for developers who want to update an existing Amazon S3 Ruby application/product and make it work with DevPay.
  • A library in Ruby for working with the License Service REST interface.
  • Ruby Amazon S3 REST Library with modifications for DevPay.
  • Part of a collection of interface libraries, each in a different language.
  • See the README file in the download for more information about the sample.

Prerequisites

  • For running in "developer" mode, you must be signed up to use Amazon S3. You can sign up for Amazon S3 at http://aws.amazon.com/s3.
  • For running in "desktop" mode, you must be signed up to use the DevPay Sample Application. Register here.
  • For running in "web" (hosted) mode, you must have an DevPay product registered under your AWS Developer account.
  • This sample was built using Ruby 1.8.3.

Running the Sample

  • See the README file in the attached download for information on running the sample.

What's New

2008-05-15: Added ability to use Amazon S3 server access logs. Also added support for Amazon S3 query string authentication, which lets you use pre-signed URLs to access Amazon S3.

2008-12-31: Added S3 requester pays functionality.


Discussion

The 5 most recent discussion messages. View full discussion.

Nathaniel E. Bi...
RealName(TM)
Posts: 32
Registered: 4/7/08
Hosted Product DevPay Plugin for Ruby on Rails
Posted: May 23, 2008 11:46 AM PDT
 
  Click to reply to this thread Reply

I wanted to drop a quick note that I've put together a plugin for Ruby on Rails specifically for hosted DevPay product integrations.  It is hosted at GitHub and can be downloaded using Git or via the Download link provided on the page (as a tarball).

http://github.com/nbibler/devpay/tree/master


- Nate



Reviews
Create Review Write a Review
Be the first to review this.
Welcome, Guest Help
Login Login