Class: DockerCloud::Type

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/docker_cloud/type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, client) ⇒ Type

Returns a new instance of Type.



6
7
8
9
10
11
# File 'lib/docker_cloud/type.rb', line 6

def initialize(response, client)
  @info = response
  @client = client
  @uuid = info[:uuid]
  @resource_uri = info[:uuid]
end

Instance Attribute Details

#resource_uriObject

Returns the value of attribute resource_uri.



4
5
6
# File 'lib/docker_cloud/type.rb', line 4

def resource_uri
  @resource_uri
end

#uuidObject

Returns the value of attribute uuid.



4
5
6
# File 'lib/docker_cloud/type.rb', line 4

def uuid
  @uuid
end