Class: Resty::Generators::ControllerGenerator

Inherits:
Base
  • Object
show all
Includes:
Rails::Generators::ResourceHelpers
Defined in:
lib/generators/resty/controller/controller_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_rest_service_fileObject



12
13
14
# File 'lib/generators/resty/controller/controller_generator.rb', line 12

def create_rest_service_file
  template 'RestService.java', File.join(java_root, rest_services_base_package.gsub(/\./, "/"), class_path, "#{controller_class_name}RestService.java")
end