lib/fog/aws/requests/ec2/describe_security_groups.rb in fog-0.0.29 vs lib/fog/aws/requests/ec2/describe_security_groups.rb in fog-0.0.30
- old
+ new
@@ -8,11 +8,11 @@
#
# ==== Parameters
# * group_name<~Array> - List of groups to describe, defaults to all
#
# === Returns
- # * response<~Fog::AWS::Response>:
+ # * response<~Excon::Response>:
# * body<~Hash>:
# * 'requestId'<~String> - Id of request
# * 'securityGroupInfo'<~Array>:
# * 'groupDescription'<~String> - Description of security group
# * 'groupName'<~String> - Name of security group
@@ -57,10 +57,10 @@
'requestId' => Fog::AWS::Mock.request_id,
'securityGroupInfo' => security_group_info
}
else
response.status = 400
- raise(Fog::Errors.status_error(200, 400, response))
+ raise(Excon::Errors.status_error(200, 400, response))
end
response
end
end