Class: Pairzone::Api::Pairzone

Inherits:
Base
  • Object
show all
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

Attributes included from PairzoneLifecycle

#start_wait_interval

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

connect_to, #initialize

Constructor Details

This class inherits a constructor from Pairzone::Api::Base

Instance Attribute Details

#identityObject (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_strObject



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