- def signed_get(uri, options)
- uri = URI.parse(uri)
- uri.scheme ||= "http"
- uri.host ||= "www.example.com"
-
- helper = OAuth::Client::Helper.new(nil, options)
-
- request = OAuth::RequestProxy.proxy(
- "method" => "GET",
- "uri" => uri,
- "parameters" => helper.oauth_parameters
- )
-
- request.sign!(options)
-
- get request.signed_uri
- end
-