class ExampleProcess

Attributes

error[R]
id[R]
interrupted[R]
log[R]
name[R]

Public Class Methods

name() click to toggle source
# File lib/sinatra/extensions/processmanager.rb, line 13
def self.name
  "THE NAME"
end

Public Instance Methods

perform(handler, other_params) click to toggle source
# File lib/sinatra/extensions/processmanager.rb, line 17
def perform(handler, other_params)
  @handler = handler
  @handler.total = params[:ids].count
  # loop
  # if error @handler.log("error no falta", e.message)
  # @handler.increase
  #
end