9
10
11
12
13
14
15
16
|
# File 'lib/generators/json_voorhees/app_scaffold/app_scaffold_generator.rb', line 9
def sprint
run "rails g json_voorhees:app_make_authorizations #{module_name} #{resource_name} #{api_version} #{attributes.join(" ")}"
if Kernel.const_defined?("Fbuser")
run "rails g json_voorhees:app_make_tests #{module_name} #{resource_name} #{api_version} #{attributes.join(" ")} --fbonly"
else
run "rails g json_voorhees:app_make_tests #{module_name} #{resource_name} #{api_version} #{attributes.join(" ")}"
end
end
|