class JsonVoorhees::AppScaffoldGenerator
Public Instance Methods
sprint()
click to toggle source
# 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