mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1165 from freeformz/region_in_mock
Make region available to mock
This commit is contained in:
commit
8081ca6ddc
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@ module Fog
|
||||||
@data = nil
|
@data = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
def initialize(options={})
|
def initialize(options={})
|
||||||
@use_iam_profile = options[:use_iam_profile]
|
@use_iam_profile = options[:use_iam_profile]
|
||||||
@aws_credentials_expire_at = Time::now + 20
|
@aws_credentials_expire_at = Time::now + 20
|
||||||
|
|
Loading…
Reference in a new issue