Sha256: 492531fc5604014d2cc579278aadb956847912bd516574957291a883b3a74268

Contents?: true

Size: 543 Bytes

Versions: 7

Compression:

Stored size: 543 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_aggregated_instance_groups(options = {})
          Fog::Mock.not_implemented
        end
      end

      class Real
        def list_aggregated_instance_groups(options = {})
          api_method = @compute.instance_groups.aggregated_list
          parameters = {
            'project' => @project,
          }
          parameters['filter'] = options[:filter] if options[:filter]

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
fog-google-0.1.3 lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
fog-google-0.1.2 lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
fog-google-0.1.1 lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
fog-google-0.1.0 lib/fog/google/requests/compute/list_aggregated_instance_groups.rb