Skip to content

Commit

Permalink
Fixed Aws::DynamoDB::Client#stub_data signature.
Browse files Browse the repository at this point in the history
The `data` argument needs to be optional.

Fixes #867
  • Loading branch information
trevorrowe committed Jul 7, 2015
1 parent d5a8243 commit f1de45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-sdk-core/lib/aws-sdk-core/dynamodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def data_to_http_resp(operation_name, data)
protocol_helper.stub_data(api, operation, data)
end

def stub_data(operation_name, data)
def stub_data(operation_name, data = {})
if config.simple_attributes
rules = config.api.operation(operation_name).output
translator = Plugins::DynamoDBSimpleAttributes::ValueTranslator
Expand Down

0 comments on commit f1de45d

Please sign in to comment.