Class: EventJob
- Inherits:
-
Object
- Object
- EventJob
- Includes:
- ActionView::Helpers, ActionView::Helpers::DateHelper, Hydra::AccessControlsEnforcement, SufiaHelper
- Defined in:
- app/jobs/event_job.rb
Direct Known Subclasses
ContentDeleteEventJob, ContentDepositEventJob, ContentDepositorChangeEventJob, ContentNewVersionEventJob, ContentRestoredVersionEventJob, ContentUpdateEventJob, UserEditProfileEventJob, UserFollowEventJob, UserUnfollowEventJob
Instance Attribute Summary collapse
-
#depositor_id ⇒ Object
Returns the value of attribute depositor_id.
-
#generic_file_id ⇒ Object
Returns the value of attribute generic_file_id.
Instance Method Summary collapse
-
#initialize(generic_file_id, depositor_id) ⇒ EventJob
constructor
A new instance of EventJob.
- #queue_name ⇒ Object
Methods included from Sufia::SufiaHelperBehavior
#current_search_parameters, #display_user_name, #error_messages_for, #has_collection_search_parameters?, #iconify_auto_link, #link_back_to_dashboard, #link_to_dashboard_query, #link_to_facet, #link_to_facet_list, #link_to_field, #link_to_profile, #link_to_telephone, #linkify_chat_id, #number_of_deposits, #render_visibility_label, #render_visibility_link, #search_form_action, #show_transfer_request_title, #sufia_thumbnail_tag
Methods included from Sufia::BlacklightOverride
#render_bookmarks_control?, #render_constraints_query, #url_for_document
Constructor Details
#initialize(generic_file_id, depositor_id) ⇒ EventJob
Returns a new instance of EventJob.
14 15 16 17 |
# File 'app/jobs/event_job.rb', line 14 def initialize(generic_file_id, depositor_id) self.generic_file_id = generic_file_id self.depositor_id = depositor_id end |
Instance Attribute Details
#depositor_id ⇒ Object
Returns the value of attribute depositor_id.
12 13 14 |
# File 'app/jobs/event_job.rb', line 12 def depositor_id @depositor_id end |
#generic_file_id ⇒ Object
Returns the value of attribute generic_file_id.
12 13 14 |
# File 'app/jobs/event_job.rb', line 12 def generic_file_id @generic_file_id end |
Instance Method Details
#queue_name ⇒ Object
8 9 10 |
# File 'app/jobs/event_job.rb', line 8 def queue_name :event end |