Class: DockerCloud::Type
- Inherits:
-
Object
- Object
- DockerCloud::Type
- Includes:
- Helpers
- Defined in:
- lib/docker_cloud/type.rb
Direct Known Subclasses
AvailabilityZone, Container, ExternalRepository, Node, NodeCluster, NodeType, Provider, Region, Registry, Service, Stack
Instance Attribute Summary collapse
-
#resource_uri ⇒ Object
Returns the value of attribute resource_uri.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(response, client) ⇒ Type
constructor
A new instance of Type.
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_uri ⇒ Object
Returns the value of attribute resource_uri.
4 5 6 |
# File 'lib/docker_cloud/type.rb', line 4 def resource_uri @resource_uri end |
#uuid ⇒ Object
Returns the value of attribute uuid.
4 5 6 |
# File 'lib/docker_cloud/type.rb', line 4 def uuid @uuid end |