Sha256: 92ac8f17b3ee2c981346c88be5c962474ca2c4c240c308133f0b9b28c52ebe9e
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
require 'service_locator' class SignupService < Service(:crm) site_type = SiteDetail.first.site_type unless SiteDetail.first.blank? if site_type && (site_type == "community" || site_type == "ccslocal" || site_type == "ccsmain") self.element_name = "ccslocal_site" self.collection_name = "ccslocal_sites" self.prefix = "/services/" else self.element_name = "site" self.collection_name = "sites" self.prefix = "/services/" end end
Version data entries
4 entries across 4 versions & 1 rubygems