Class: DockerCloud::ContainerStreamAPI
- Defined in:
- lib/docker_cloud/api/container_stream_api.rb
Constant Summary
Constants inherited from StreamAPI
Constants inherited from API
API::API_VERSION, API::BASE_API_PATH
Instance Attribute Summary
Attributes inherited from API
Instance Method Summary collapse
-
#initialize(uuid, command, headers, client) ⇒ ContainerStreamAPI
constructor
A new instance of ContainerStreamAPI.
Methods inherited from StreamAPI
Methods inherited from API
#get_from_uri, #http_delete, #http_get, #http_patch, #http_post, #parse, #url
Constructor Details
#initialize(uuid, command, headers, client) ⇒ ContainerStreamAPI
Returns a new instance of ContainerStreamAPI.
3 4 5 6 7 |
# File 'lib/docker_cloud/api/container_stream_api.rb', line 3 def initialize(uuid, command, headers, client) @uuid = uuid @command = command super(headers, DockerCloud::Client::ApiType::CONTAINER, client) end |