Sha256: ffd00f2b1b37af67d83d363536640361aca90f2d24d778bd5c3195842342bae9
Contents?: true
Size: 642 Bytes
Versions: 26
Compression:
Stored size: 642 Bytes
Contents
class Ey::Core::Client class Real def get_servers(params={}) request( :params => params, :query => Ey::Core.paging_parameters(params), :path => "/servers", :url => params.delete("url"), ) end end # Real class Mock def get_servers(params={}) extract_url_params!(params) headers, servers_page = search_and_page(params, :servers, search_keys: %w[account environment provider state private_hostname public_hostname provisioned_id role]) response( :body => {"servers" => servers_page}, :headers => headers ) end end # Mock end
Version data entries
26 entries across 26 versions & 1 rubygems