lib/awspec/stub/apigateway.rb in cthiesfork-awspec-1.2.1 vs lib/awspec/stub/apigateway.rb in cthiesfork-awspec-1.2.2
- old
+ new
@@ -86,20 +86,26 @@
{
path: '/zambonis',
resource_methods: {
'POST' => {
http_method: 'POST',
- method_integration: { http_method: 'POST', uri: 'http://127.0.0.1:8080/zambonis/{arena}' }
+ method_integration: { http_method: 'POST',
+ uri: 'http://127.0.0.1:8080/zambonis/{arena}?arena=Saddledome' }
}
}
},
{
path: '/zambonis/123',
resource_methods: {
'POST' => {
http_method: 'POST',
method_integration: { http_method: 'AWS',
uri: 'arn:aws:apigateway:us-east-1:cognito-idp:action/ListUsers' }
+ },
+ 'GET' => {
+ http_method: 'GET',
+ method_integration: { http_method: 'AWS',
+ uri: 'arn:aws:apigateway:us-east-1:cognito-idp:action/SignUp?username=test' }
}
}
}
]
}