Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
Updated Resource Client Constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
awood45 committed Oct 2, 2014
1 parent 9040747 commit 5a98026
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aws-sdk-resources/lib/aws-sdk-resources/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def extract_client(options)
if options[:client]
options[:client]
else
self.class.client_class.new(options)
self.class.client_class.new(options.merge(
user_agent_suffix: "resources"
))
end
end

Expand Down

0 comments on commit 5a98026

Please sign in to comment.