资 源 简 介
amazon-fps
http://code.google.com/p/amazon-fps-ruby
DESCRIPTION
Provides a simple wrapper around the Amazon FPS SOAP web service.
FEATURES/PROBLEMS
Supports all features in the WSDL from Amazon:
http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=125
SYNOPSIS
```
@credentials = {
"AWSAccessKeyId" => "abc123"
}
@options = {
# NOTE: change this to your cert subject as per
# openssl x509 -in aws.cer -subject
:subject => "/C=US/O=Amazon.com/OU=AWS-Developers/CN=bogus"
}
@fps = AmazonFPS.new(@credentials, @options)
res = @fps.getAccountBalance(AmazonFPS::GetAccountBalance.new).getAccountBalanceResult
```
REQUIREMENTS
Tested On:
soap4r (1.5.8)
wss4r (0.5)
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
Obtaining the Software
Check out a copy