Class: EventJob

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers, ActionView::Helpers::DateHelper, Hydra::AccessControlsEnforcement, SufiaHelper
Defined in:
app/jobs/event_job.rb

Overview

Copyright © 2012 The Pennsylvania State University

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SufiaHelper

#display_user_name, #iconify_auto_link, #link_back_to_catalog, #link_back_to_dashboard, #link_to_dashboard_query, #link_to_facet, #link_to_facet_list, #link_to_field, #link_to_profile, #linkify_chat_id, #number_of_deposits, #render_facet_value

Constructor Details

#initialize(generic_file_id, depositor_id) ⇒ EventJob

Returns a new instance of EventJob.


28
29
30
31
# File 'app/jobs/event_job.rb', line 28

def initialize(generic_file_id, depositor_id)
  self.generic_file_id = generic_file_id
  self.depositor_id = depositor_id
end

Instance Attribute Details

#depositor_idObject

Returns the value of attribute depositor_id


26
27
28
# File 'app/jobs/event_job.rb', line 26

def depositor_id
  @depositor_id
end

#generic_file_idObject

Returns the value of attribute generic_file_id


26
27
28
# File 'app/jobs/event_job.rb', line 26

def generic_file_id
  @generic_file_id
end

Instance Method Details

#queue_nameObject


22
23
24
# File 'app/jobs/event_job.rb', line 22

def queue_name
  :event
end