From c0d75c23cef1a190c0c6dc0d1f768ed0307edc17 Mon Sep 17 00:00:00 2001 From: Edward Muller Date: Fri, 21 Sep 2012 21:13:58 -0700 Subject: [PATCH] Make region available to mock --- lib/fog/aws/compute.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fog/aws/compute.rb b/lib/fog/aws/compute.rb index 51388be30..8c2a54021 100644 --- a/lib/fog/aws/compute.rb +++ b/lib/fog/aws/compute.rb @@ -212,6 +212,8 @@ module Fog @data = nil end + attr_accessor :region + def initialize(options={}) @use_iam_profile = options[:use_iam_profile] @aws_credentials_expire_at = Time::now + 20