Sha256: 7e5670a821303ebf4e152369cfd0e5d08959c36eaa5e658fd3827a048235e8f0

Contents?: true

Size: 651 Bytes

Versions: 53

Compression:

Stored size: 651 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_untracked_servers(params={})
      request(
        :params => params,
        :query  => Ey::Core.paging_parameters(params),
        :path   => "/untracked-servers",
        :url    => params.delete("url"),
      )
    end
  end # Real
  class Mock
    def get_untracked_servers(params={})
      extract_url_params!(params)

      headers, servers_page = search_and_page(params, :untracked_servers, search_keys: %w[provider provisioned_id provisioner_id location])

      response(
        :body    => {"untracked_servers" => servers_page},
        :headers => headers
      )
    end
  end # Mock
end

Version data entries

53 entries across 53 versions & 3 rubygems

Version Path
ey-core-3.1.11 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.10 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.9 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.8 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.7 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.6 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.5 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.4 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.3 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.2 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.1.0 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.5 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.4 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.3 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.2 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.0.0 lib/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.17 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.16 lib/vendor/core/ey-core/requests/get_untracked_servers.rb