Class: Flucti::Resources::ServiceConfig

Inherits:
BasicResource
  • Object
show all
Defined in:
lib/flucti/resources/app_type.rb

Instance Method Summary collapse

Methods inherited from BasicResource

#vps, #vps=, #vps_id

Instance Method Details

#to_sObject



11
12
13
14
15
# File 'lib/flucti/resources/app_type.rb', line 11

def to_s
  start   = start_script  if attribute_set? :start_script
  finish  = finish_script if attribute_set? :finish_script
  "#{name} (start: #{start.to_s.length} bytes, finish: #{finish.to_s.length} bytes)"
end