class Eclix::Remote

Attributes

credentials[R]
host[R]
name[R]
port[R]

Public Class Methods

new(name, host, port, credentials) click to toggle source
# File lib/eclix/sync.rb, line 14
def initialize(name, host, port, credentials)
    @name = name
    @host = host
    @port = port
    @credentials = credentials
end

Public Instance Methods

password() click to toggle source
# File lib/eclix/sync.rb, line 21
def password
    credentials.password
end
publication_dir(publication_name) click to toggle source
# File lib/eclix/sync.rb, line 29
def publication_dir(publication_name)
    "/opt/tomcat-#{name}/webapps-#{publication_name}/#{publication_name}/"
end
user() click to toggle source
# File lib/eclix/sync.rb, line 25
def user
    credentials.user
end