Sha256: 2aaf2eec03d0c1b866cb9befa061d3914c13cbc7b24e9f0ba6b4f40a9faabc34

Contents?: true

Size: 727 Bytes

Versions: 20

Compression:

Stored size: 727 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_machine_types(_zone, _opts = {})
          Fog::Mock.not_implemented
        end
      end

      class Real
        def list_machine_types(zone, filter: nil, max_results: nil,
                               page_token: nil, order_by: nil)
          zone = zone.split("/")[-1] if zone.start_with? "http"
          @compute.list_machine_types(@project, zone,
                                      :filter => filter,
                                      :max_results => max_results,
                                      :page_token => page_token,
                                      :order_by => order_by)
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fog-google-1.9.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.9.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.8.2 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.8.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.8.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.7.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.7.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.6.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.5.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.4.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.3.3 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.3.2 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.3.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.3.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.2.2 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.2.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.2.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.1.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.0.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.0.0 lib/fog/compute/google/requests/list_machine_types.rb