Module: Pair

Defined in:
lib/pair.rb,
lib/pair/os.rb,
lib/pair/api.rb,
lib/pair/cli.rb,
lib/pair/config.rb,
lib/pair/session.rb,
lib/pair/version.rb,
lib/pair/cli/host.rb,
lib/pair/cli/config.rb,
lib/pair/cli/notify.rb,
lib/pair/notification.rb,
lib/pair/session/tmux.rb,
lib/pair/session/tunnel.rb,
lib/pair/cli/custom_errors.rb,
lib/pair/session/hosted_session.rb,
lib/pair/notification/dispatcher.rb,
lib/pair/notification/growl_logger.rb,
lib/pair/notification/custom_errors.rb,
lib/pair/session/authorized_keys_file.rb,
lib/pair/notification/linux_dispatcher.rb,
lib/pair/notification/o_s_x_dispatcher.rb

Defined Under Namespace

Modules: Api, OS Classes: Cli, Config, Notification, Session

Constant Summary collapse

APPLICATION_NAME =
"Pair"
APPLICATION_DOMAIN =
"www.pairmill.com"
ICON_APPLICATION =
"http://#{APPLICATION_DOMAIN}/images/emblem-earth.png"
ICON_SESSION_JOIN =
"http://#{APPLICATION_DOMAIN}/images/pair-network-join.png"
ICON_SESSION_PART =
"http://#{APPLICATION_DOMAIN}/images/pair-network-part.png"
HOST =
ENV['HOST'] || "api.pairmill.com"
VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.config(options = nil) ⇒ Object



6
7
8
9
10
# File 'lib/pair/config.rb', line 6

def self.config(options = nil)
  config = Config.new(HOST, STDIN, STDOUT)
  config.update(options) if options
  config
end