Class: Hyrax::BatchCreateSuccessService
- Inherits:
-
AbstractMessageService
- Object
- AbstractMessageService
- Hyrax::BatchCreateSuccessService
- Defined in:
- app/services/hyrax/batch_create_success_service.rb
Instance Attribute Summary collapse
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Attributes inherited from AbstractMessageService
Instance Method Summary collapse
-
#initialize(user) ⇒ BatchCreateSuccessService
constructor
A new instance of BatchCreateSuccessService.
- #message ⇒ Object
- #subject ⇒ Object
Methods inherited from AbstractMessageService
Constructor Details
#initialize(user) ⇒ BatchCreateSuccessService
Returns a new instance of BatchCreateSuccessService.
5 6 7 |
# File 'app/services/hyrax/batch_create_success_service.rb', line 5 def initialize(user) @user = user end |
Instance Attribute Details
#user ⇒ Object (readonly)
Returns the value of attribute user.
3 4 5 |
# File 'app/services/hyrax/batch_create_success_service.rb', line 3 def user @user end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'app/services/hyrax/batch_create_success_service.rb', line 9 def "The batch create for #{user} passed." end |
#subject ⇒ Object
13 14 15 |
# File 'app/services/hyrax/batch_create_success_service.rb', line 13 def subject 'Passing batch create' end |