Class: SERVICE_CLASS_NAME::Service

Inherits:
Curbala::Service show all
Defined in:
lib/generators/curbala/action/template/service.rb

Class Method Summary collapse

Methods inherited from Curbala::Service

invoke

Class Method Details

.config_file ⇒ Object

see self.env_service_config()



11
12
13
# File 'lib/generators/curbala/action/template/service.rb', line 11

def self.config_file # see self.env_service_config()
  'SERVICE_NAME_DOWNCASE.yml'
end

.service_qualifier ⇒ Object



7
8
9
# File 'lib/generators/curbala/action/template/service.rb', line 7

def self.service_qualifier
  'SERVICE_CLASS_NAME'
end

.service_url_segment(associated_model) ⇒ Object



3
4
5
# File 'lib/generators/curbala/action/template/service.rb', line 3

def self.service_url_segment(associated_model)
  "/TODO__SPECIFY_ENVIRONMENT_INDEPENDENT_PORTION_OF_SERVICE_URL_IN___SERVICE_CLASS_NAME_Service__service_url_segment__method/"
end