trabajo-afectivo/lib/import/otrs/history.rb

22 lines
328 B
Ruby
Raw Normal View History

module Import
module OTRS
class History
def initialize(history)
init_callback(history)
add
end
def init_callback(_)
raise 'No init callback defined for this history!'
end
private
def add
::History.add(@history_attributes)
end
end
end
end