Class: Breeze::FogWrapper::RDS

Inherits:
AbstractConnectionWrapper show all
Defined in:
lib/breeze/fog_wrapper.rb

Overview

TODO: add RDS mocks to fog so that we can start testing it

Class Method Summary collapse

Methods inherited from AbstractConnectionWrapper

#flush_data!, get_connection, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Breeze::FogWrapper::AbstractConnectionWrapper

Class Method Details

.direct_fog_connectionObject



72
73
74
75
76
# File 'lib/breeze/fog_wrapper.rb', line 72

def self.direct_fog_connection
  credentials = CONFIGURATION[:cloud_service].reject{ |k,v| k == :provider }
  credentials[:region] = CONFIGURATION[:db_region]
  Fog::AWS::RDS.new(credentials)
end