Class: Pairzone::Api::Pairzone
- Extended by:
- PairzoneLifecycle
- Includes:
- PairzoneConnection
- Defined in:
- lib/pairzone/api/pairzone.rb
Constant Summary
Constants included from PairzoneLifecycle
Pairzone::Api::PairzoneLifecycle::DEFAULT_START_WAIT_INTERVAL
Instance Attribute Summary collapse
-
#identity ⇒ Object
readonly
Returns the value of attribute identity.
Attributes included from PairzoneLifecycle
Instance Method Summary collapse
Methods included from PairzoneLifecycle
report_starting_status, start, wait_for
Methods included from PairzoneConnection
#connect, #fetch_code, #git_location, #push_code, #shell
Methods inherited from Base
Constructor Details
This class inherits a constructor from Pairzone::Api::Base
Instance Attribute Details
#identity ⇒ Object (readonly)
Returns the value of attribute identity.
7 8 9 |
# File 'lib/pairzone/api/pairzone.rb', line 7 def identity @identity end |
Instance Method Details
#to_str ⇒ Object
20 21 22 |
# File 'lib/pairzone/api/pairzone.rb', line 20 def to_str "<%= color('This Pairzone: #{name}', CYAN + BOLD) %>\nOwner: #{owner}\nCollaborators: #{collaborators.join(', ')}" end |