Sha256: fbc2fbf3ed731c3e1fe38c46074294fd97fb3835cadc781ead221ad04b052609

Contents?: true

Size: 441 Bytes

Versions: 54

Compression:

Stored size: 441 Bytes

Contents

class Ey::Core::Client
  class Real
    def get_untracked_server(params={})
      request(
        :path => "/untracked-servers/#{params.fetch("id")}",
        :url  => params.delete("url"),
      )
    end
  end # Real

  class Mock
    def get_untracked_server(params={})
      response(
        :body => {"untracked_server" => self.find(:untracked_servers, resource_identity(params))},
      )
    end
  end # Mock
end # Ey::Core::Client

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
ey-core-3.6.0.autoscaling1 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.6.4 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.6.3 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.6.1 lib/ey-core/requests/get_untracked_server.rb
groove-ey-core-3.6.3 lib/ey-core/requests/get_untracked_server.rb
groove-ey-core-3.6.2 lib/ey-core/requests/get_untracked_server.rb
groove-ey-core-3.6.1 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.5.0 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.4.4 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.4.2 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.4.1 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.4.0 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.3.1 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.3.0 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.6 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.5 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.4 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.3 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.2 lib/ey-core/requests/get_untracked_server.rb
ey-core-3.2.1 lib/ey-core/requests/get_untracked_server.rb