class Flaun::DSLTarget

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/flaun/dsl.rb, line 25
def initialize(config)
  @config = ::Flaun::TargetConfig.new(config)
end

Public Instance Methods

host(host) click to toggle source
# File lib/flaun/dsl.rb, line 37
def host(host)
  @config.host = host
end
path(path) click to toggle source
# File lib/flaun/dsl.rb, line 41
def path(path)
  @config.path = path
end
port(port) click to toggle source
# File lib/flaun/dsl.rb, line 33
def port(port)
  @config.forward_host_port = port
end
user(user) click to toggle source
# File lib/flaun/dsl.rb, line 29
def user(user)
  @config.user = user
end