test/api_stub/requests/application_gateway/gateway.rb in fog-azure-rm-0.1.0 vs test/api_stub/requests/application_gateway/gateway.rb in fog-azure-rm-0.1.1
- old
+ new
@@ -134,11 +134,11 @@
"resourceGuid": "b3db5ebf-10f8-4666-9596-d1459530f64b",
"provisioningState": "Succeeded"
}
}'
gateway_mapper = Azure::ARM::Network::Models::ApplicationGateway.mapper
- gateway_client.deserialize(gateway_mapper, JSON.load(response), 'result.body')
+ gateway_client.deserialize(gateway_mapper, Fog::JSON.decode(response), 'result.body')
end
def self.gateway_params
gateway_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.gateway_ip_configurations
frontend_ip_configurations = ApiStub::Requests::ApplicationGateway::Gateway.frontend_ip_configurations
@@ -301,10 +301,10 @@
"provisioningState": "Succeeded"
}
}]
}'
gateway_list_mapper = Azure::ARM::Network::Models::ApplicationGatewayListResult.mapper
- gateway_client.deserialize(gateway_list_mapper, JSON.load(response), 'result.body')
+ gateway_client.deserialize(gateway_list_mapper, Fog::JSON.decode(response), 'result.body')
end
def self.delete_application_gateway_response
MsRestAzure::AzureOperationResponse.new(MsRest::HttpOperationRequest.new('', '', ''), Faraday::Response.new)
end