lib/fog/azurerm/models/resources/azure_resource.rb in fog-azure-rm-0.0.4 vs lib/fog/azurerm/models/resources/azure_resource.rb in fog-azure-rm-0.0.5

- old
+ new

@@ -10,14 +10,14 @@ attribute :location attribute :tags def self.parse(resource) hash = {} - hash['id'] = resource['id'] - hash['name'] = resource['name'] - hash['type'] = resource['type'] - hash['location'] = resource['location'] - hash['tags'] = resource['tags'] + hash['id'] = resource.id + hash['name'] = resource.name + hash['type'] = resource.type + hash['location'] = resource.location + hash['tags'] = resource.tags hash end end end end