lib/fog/aws/rds.rb in fog-aws-0.0.6 vs lib/fog/aws/rds.rb in fog-aws-0.0.7
- old
+ new
@@ -120,9 +120,11 @@
def self.reset
@data = nil
end
+ attr_accessor :region
+
def initialize(options={})
@use_iam_profile = options[:use_iam_profile]
@region = options[:region] || 'us-east-1'
unless ['ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1'].include?(@region)