def enable_apis
      dir = "/app/apis/#{@project_name}/#{@scaffold_name}s/base_apis.rb"
      base_dir = "#{Dir.pwd}/app/apis/#{@project_name}/#{@scaffold_name}s"
      unless File.exists?(File.join(Dir.pwd,dir))
        FileUtils.mkdir base_dir unless File.exists?(base_dir)
        source = "#{@gem_path}/lib/modules/scaffold/base_apis.rb"
        FileUtils.cp(source,File.join(Dir.pwd,dir))
        config_apis
        $stdout.puts "\e[1;32m \tcreate\e[0m\t#{dir}"
        mount_apis
      end
    end
def enable_apis
      dir = "/app/apis/#{@project_name}/#{@scaffold_name}s/base_apis.rb"
      base_dir = "#{Dir.pwd}/app/apis/#{@project_name}/#{@scaffold_name}s"
      unless File.exists?(File.join(Dir.pwd,dir))
        FileUtils.mkdir base_dir unless File.exists?(base_dir)
        source = "#{@gem_path}/lib/modules/scaffold/base_apis.rb"
        FileUtils.cp(source,File.join(Dir.pwd,dir))
        config_apis
        $stdout.puts "\e[1;32m \tcreate\e[0m\t#{dir}"
        mount_apis
      end
    end
=begin
Generates the api file with CRED functionality apis enabled.
=end