lib/poolparty/poolparty/poolparty_base_class.rb
# Add to the services pool for the manifest listing
Add to the services pool for the manifest listing
Add to the services pool for the manifest listing
def add_service(serv, extra_name="")
      subclass = "#{serv.class.to_s.top_level_class.underscore.downcase}#{extra_name}"
      lowercase_class_name = subclass.to_s.underscore.downcase || subclass.downcase
      ordered_resources << serv
    end
def add_service ( serv , extra_name = "" ) subclass = "#{serv.class.to_s.top_level_class.underscore.downcase}#{extra_name}" lowercase_class_name = subclass . to_s . underscore . downcase || subclass . downcase ordered_resources << serv end
Add to the services pool for the manifest listing
Add to the services pool for the manifest listing
# (services[lowercase_class_name.to_sym] ||= []) << serv if serv && !serv.empty? # services.merge!({lowercase_class_name.to_sym => serv})
serv
extra_name