Sha256: 10c5f50cfc6851a4941af87ef2be88ff86815e7755bb37a7e48fd24b712cd582
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
module Flucti module Resources class AppType < BasicResource self.attribute_for_to_s = :name has_many :service_configs end class ServiceConfig < BasicResource belongs_to :app_type 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Flucti-flucti-cli-0.1.16 | lib/flucti/resources/app_type.rb |