Sha256: a0edfa9d0b6f05afa8d49445b79733da0b054d994bf781b3a5a98bad0e04b31a

Contents?: true

Size: 523 Bytes

Versions: 7

Compression:

Stored size: 523 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_instance_group_instances(group, zone)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def list_instance_group_instances(group, zone)
          api_method = @compute.instance_groups.list_instances
          parameters = {
            'project' => @project,
            'zone' => zone,
            'group' => group
          }

          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_instance_group_instances.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/lib/fog/google/requests/compute/list_instance_group_instances.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/lib/fog/google/requests/compute/list_instance_group_instances.rb
fog-google-0.1.3 lib/fog/google/requests/compute/list_instance_group_instances.rb
fog-google-0.1.2 lib/fog/google/requests/compute/list_instance_group_instances.rb
fog-google-0.1.1 lib/fog/google/requests/compute/list_instance_group_instances.rb
fog-google-0.1.0 lib/fog/google/requests/compute/list_instance_group_instances.rb