lib/azure/armrest/network/network_interface_service.rb in azure-armrest-0.0.9 vs lib/azure/armrest/network/network_interface_service.rb in azure-armrest-0.1.0

- old
+ new

@@ -3,14 +3,11 @@ module Network # Class for managing network interfaces. class NetworkInterfaceService < ResourceGroupBasedService # Creates and returns a new NetworkInterfaceService instance. # - def initialize(_armrest_configuration, options = {}) - super - @provider = options[:provider] || 'Microsoft.Network' - @service_name = 'networkInterfaces' - set_service_api_version(options, @service_name) + def initialize(armrest_configuration, options = {}) + super(armrest_configuration, 'networkInterfaces', 'Microsoft.Network', options) end end end # Network end # Armrest end # Azure