|
Project Information
Members
Featured
Downloads
Links
|
amazon-fpsDESCRIPTIONProvides a simple wrapper around the Amazon FPS SOAP web service. FEATURES/PROBLEMSSupports 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).getAccountBalanceResultREQUIREMENTSTested On:
Obtaining the SoftwareCheck out a copy from subversion or install the gem. Install Gem$ sudo gem install amazon-fps-ruby Download Source $ svn checkout \
http://amazon-fps-ruby.googlecode.com/svn/trunk/ \
amazon-fps-ruby-read-onlyInstall Prerequisites
Set up Keys and Certs
$ openssl x509 -in aws.cer -subject LICENSE(The MIT License) Copyright (c) 2008 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |