From 9e91262e0843345c169025510f37060859582f40 Mon Sep 17 00:00:00 2001 From: Kyle Rames Date: Tue, 19 Nov 2013 13:47:20 -0600 Subject: [PATCH] [rackspace|queues] fixing examples --- lib/fog/rackspace/examples/queues/claim_messages.rb | 4 ++-- lib/fog/rackspace/examples/queues/list_messages.rb | 4 ++-- lib/fog/rackspace/examples/queues/post_message.rb | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/fog/rackspace/examples/queues/claim_messages.rb b/lib/fog/rackspace/examples/queues/claim_messages.rb index 2ecf22b17..9b68706c6 100644 --- a/lib/fog/rackspace/examples/queues/claim_messages.rb +++ b/lib/fog/rackspace/examples/queues/claim_messages.rb @@ -36,8 +36,8 @@ end # create Queue Service service = Fog::Rackspace::Queues.new({ - # :rackspace_username => rackspace_username, - # :rackspace_api_key => rackspace_api_key, + :rackspace_username => rackspace_username, + :rackspace_api_key => rackspace_api_key, :rackspace_region => :ord #Use Chicago Region }) diff --git a/lib/fog/rackspace/examples/queues/list_messages.rb b/lib/fog/rackspace/examples/queues/list_messages.rb index ed6ead8e6..a451d30c6 100644 --- a/lib/fog/rackspace/examples/queues/list_messages.rb +++ b/lib/fog/rackspace/examples/queues/list_messages.rb @@ -42,8 +42,8 @@ end # create Queue Service service = Fog::Rackspace::Queues.new({ - # :rackspace_username => rackspace_username, - # :rackspace_api_key => rackspace_api_key, + :rackspace_username => rackspace_username, + :rackspace_api_key => rackspace_api_key, :rackspace_region => :ord #Use Chicago Region }) diff --git a/lib/fog/rackspace/examples/queues/post_message.rb b/lib/fog/rackspace/examples/queues/post_message.rb index 2592826f6..b63ce2518 100644 --- a/lib/fog/rackspace/examples/queues/post_message.rb +++ b/lib/fog/rackspace/examples/queues/post_message.rb @@ -36,8 +36,8 @@ end # create Queue Service service = Fog::Rackspace::Queues.new({ - # :rackspace_username => rackspace_username, - # :rackspace_api_key => rackspace_api_key, + :rackspace_username => rackspace_username, + :rackspace_api_key => rackspace_api_key, :rackspace_region => :ord #Use Chicago Region })