Skip to content

Commit

Permalink
implement Refinery::Images#s3_region and Refinery::Resources#s3_region
Browse files Browse the repository at this point in the history
  • Loading branch information
bartocc authored and ugisozols committed May 29, 2012
1 parent 629b03e commit b77b0b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/lib/refinery/images/configuration.rb
Expand Up @@ -53,6 +53,11 @@ def s3_access_key_id
def s3_secret_access_key
config.s3_secret_access_key.nil? ? Refinery::Core.s3_secret_access_key : config.s3_secret_access_key
end

def s3_region
config.s3_region.nil? ? Refinery::Core.s3_region : config.s3_region
end

end
end
end
5 changes: 5 additions & 0 deletions resources/lib/refinery/resources/configuration.rb
Expand Up @@ -38,6 +38,11 @@ def s3_access_key_id
def s3_secret_access_key
config.s3_secret_access_key.nil? ? Refinery::Core.s3_secret_access_key : config.s3_secret_access_key
end

def s3_region
config.s3_region.nil? ? Refinery::Core.s3_region : config.s3_region
end

end
end
end

0 comments on commit b77b0b5

Please sign in to comment.