Sha256: e47f75d2874277994753f19bd3bc71e61af597ca3009a3a9bbd630ceded6693c

Contents?: true

Size: 733 Bytes

Versions: 4

Compression:

Stored size: 733 Bytes

Contents

require 'fog/core/collection'
require 'fog/azurerm/models/network/express_route_service_provider'

module Fog
  module Network
    class AzureRM
      # ExpressRouteServiceProvider collection class for Network Service
      class ExpressRouteServiceProviders < Fog::Collection
        model Fog::Network::AzureRM::ExpressRouteServiceProvider

        def all
          express_route_service_providers = []
          service.list_express_route_service_providers.each do |service_provider|
            express_route_service_providers << Fog::Network::AzureRM::ExpressRouteServiceProvider.parse(service_provider)
          end
          load(express_route_service_providers)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.9 lib/fog/azurerm/models/network/express_route_service_providers.rb
fog-azure-rm-0.0.8 lib/fog/azurerm/models/network/express_route_service_providers.rb
fog-azure-rm-0.0.6 lib/fog/azurerm/models/network/express_route_service_providers.rb
fog-azure-rm-0.0.5 lib/fog/azurerm/models/network/express_route_service_providers.rb