Displaying 1 result from an estimated 1 matches for "access_id".
Did you mean:
access_sid
2007 Feb 16
0
displaying images from this controllers code
...ce a url and it returns a thumbnaill.
class AmazonController < ApplicationController
layout ''default''
def index
require ''cgi''
require ''openssl''
require ''base64''
require ''open-uri''
access_id = ''XXXXX''
secret_id = ''XXXXXXXXXX''
source_url = ''google.com''
timestamp = Time.now.strftime("%Y-%m-%dT%H:%M:%SZ")
sig =
Base64.encode64(OpenSSL::HMAC::digest(OpenSSL::Digest::Digest.new(''SHA1''),
secre...