Class: DockerCloud::Provider

Inherits:
Type
  • Object
show all
Defined in:
lib/docker_cloud/provider.rb

Instance Attribute Summary collapse

Attributes inherited from Type

#uuid

Instance Method Summary collapse

Methods inherited from Type

#initialize

Constructor Details

This class inherits a constructor from DockerCloud::Type

Instance Attribute Details

#availableObject

Returns the value of attribute available.



3
4
5
# File 'lib/docker_cloud/provider.rb', line 3

def available
  @available
end

#labelObject

Returns the value of attribute label.



3
4
5
# File 'lib/docker_cloud/provider.rb', line 3

def label
  @label
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/docker_cloud/provider.rb', line 3

def name
  @name
end

#regionsObject

Returns the value of attribute regions.



3
4
5
# File 'lib/docker_cloud/provider.rb', line 3

def regions
  @regions
end

Instance Method Details

#resource_uriObject



13
14
15
# File 'lib/docker_cloud/provider.rb', line 13

def resource_uri
  info[:resource_uri]
end