Sha256: 8719ec6c57e2957afa51b81ad06fb2cfc1e31e88de8f031c34402f7e1035fcd2

Contents?: true

Size: 767 Bytes

Versions: 14

Compression:

Stored size: 767 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_machine_types(_zone, _opts = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        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

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.24.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.23.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.22.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.21.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.21.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.20.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.19.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.18.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.17.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.16.1 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.16.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.15.0 lib/fog/compute/google/requests/list_machine_types.rb
fog-google-1.14.0 lib/fog/compute/google/requests/list_machine_types.rb