Sha256: 399f1bf2048e5f8279d378ee327d07366cd0022cc5bacc1e7629e953e28ec224

Contents?: true

Size: 616 Bytes

Versions: 7

Compression:

Stored size: 616 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_disk_types(_zone, _options: {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/list_disk_types.rb
fog-google-1.13.0 lib/fog/compute/google/requests/list_disk_types.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/list_disk_types.rb
fog-google-1.12.1 lib/fog/compute/google/requests/list_disk_types.rb
fog-google-1.12.0 lib/fog/compute/google/requests/list_disk_types.rb
fog-google-1.11.0 lib/fog/compute/google/requests/list_disk_types.rb
fog-google-1.10.0 lib/fog/compute/google/requests/list_disk_types.rb