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.6.4 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.6.3 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.6.1 lib/ey-core/requests/get_untracked_servers.rb
groove-ey-core-3.6.3 lib/ey-core/requests/get_untracked_servers.rb
groove-ey-core-3.6.2 lib/ey-core/requests/get_untracked_servers.rb
groove-ey-core-3.6.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.5.0 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.4.4 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.4.2 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.4.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.4.0 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.3.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.3.0 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.6 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.5 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.4 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.3 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.2 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.1 lib/ey-core/requests/get_untracked_servers.rb
ey-core-3.2.0 lib/ey-core/requests/get_untracked_servers.rb