Sha256: 267fb33a1e50cd124b8576970fdaf42fedf7aa5d1a6e8b11073bd9c473849d5c
Contents?: true
Size: 587 Bytes
Versions: 5
Compression:
Stored size: 587 Bytes
Contents
module Rivendell::Import class Config def to_prepare(&block) Base.default_to_prepare = block end def rivendell @rivendell ||= Rivendell.new end alias_method :xport_options, :rivendell class Rivendell def host=(host) Task.default_xport_options[:host] = host end def login_name=(login_name) Task.default_xport_options[:login_name] = login_name end alias_method :user=, :login_name= def password=(password) Task.default_xport_options[:password] = password end end end end
Version data entries
5 entries across 5 versions & 1 rubygems