Class: DockerSwarm::Swarm
Overview
Access point for Docker Swarm cluster information
Class Method Summary collapse
-
.resource_name ⇒ String
Override resource name to match API endpoint.
-
.show ⇒ Hash
Returns information about the swarm.
Methods inherited from Base
all, #as_json, #assign_attributes, #attributes, defined_attributes, find, #id, #initialize, #method_missing, #payload_for_docker, #persisted?, #reload, #respond_to_missing?, root_key, routes, #serializable_hash, where
Methods included from Concerns::Inspectable
Constructor Details
This class inherits a constructor from DockerSwarm::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DockerSwarm::Base
Class Method Details
.resource_name ⇒ String
Override resource name to match API endpoint
9 10 11 |
# File 'lib/docker_swarm/models/swarm.rb', line 9 def self.resource_name "swarm" end |