Sha256: 8d92f502803eab68d930db980bb71599a87fa7a25b01eb3bad681b60979eb14b
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
module Flucti module Resources class Backend < BasicResource belongs_to :website has_one :ssh_details has_one :install_error has_one :root_install_error def to_s return super unless [:website, :vps, :user].all? { |attribute| attribute_set? attribute } "for website `#{website}' (on VPS `#{vps}' as `#{user}')" end def vps webserver.vps end end class InstallError < BasicResource def output [stdout, stderr].join end end class RootInstallError < InstallError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Flucti-flucti-cli-0.1.16 | lib/flucti/resources/backend.rb |