Sha256: c5c53fb43770cd1a82f2f4c342d707b3d3eff18b385049cdfd38c447718a43b4
Contents?: true
Size: 790 Bytes
Versions: 1
Compression:
Stored size: 790 Bytes
Contents
module ApiStub module Models module Resources # Mock class for Resource Group Model class ResourceGroup def self.create_resource_group_response(client) resource_group = '{ "id": "/subscriptions/########-####-####-####-############/resourceGroups/fog-test-rg", "name": "fog-test-rg", "location": "westus", "tags": { "tagname1": "tagvalue1" }, "properties": { "provisioning_state": "Succeeded" } }' result_mapper = Azure::ARM::Resources::Models::ResourceGroup.mapper client.deserialize(result_mapper, Fog::JSON.decode(resource_group), 'result.body') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.1 | test/api_stub/models/resources/resource_group.rb |