diff --git a/lib/fog/aws/requests/rds/modify_db_snapshot_attribute.rb b/lib/fog/aws/requests/rds/modify_db_snapshot_attribute.rb index ff307e730..92462e1fd 100644 --- a/lib/fog/aws/requests/rds/modify_db_snapshot_attribute.rb +++ b/lib/fog/aws/requests/rds/modify_db_snapshot_attribute.rb @@ -27,6 +27,22 @@ module Fog }.merge!(params)) end end + class Mock + # + # Usage + # + # Fog::AWS[:rds].modify_db_snapshot_attribute("snap-identifier", {"Add.MemberId"=>"389480430104"}) + # + + def modify_db_snapshot_attribute(db_snapshot_identifier, attributes) + response = Excon::Response.new + response.status = 200 + response.body = { + 'requestId' => Fog::AWS::Mock.request_id + }.merge!(data) + response + end + end end end end