Method: DockerCloud::Type#initialize
- Defined in:
- lib/docker_cloud/type.rb
#initialize(response, client) ⇒ Type
Returns a new instance of Type.
5 6 7 8 9 10 |
# File 'lib/docker_cloud/type.rb', line 5 def initialize(response, client) @info = response @client = client @uuid = info[:uuid] @resource_uri = info[:uuid] end |