class ActiveOperation::Generators::OperationGenerator

Public Instance Methods

create_operation() click to toggle source
# File lib/generators/active_operation/operation/operation_generator.rb, line 12
def create_operation
  template 'operation.rb.erb', File.join('app/operations', class_path, "#{file_name}.rb")
end