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-pro-cli-0.0.15 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.14 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.13 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.12 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.11 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.10 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.9 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.8 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.7 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.6 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.5 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.4 lib/vendor/core/ey-core/requests/get_untracked_servers.rb
ey-pro-cli-0.0.3 lib/vendor/core/ey-core/requests/get_untracked_servers.rb