Class: Hyrax::Actors::TransferRequestActor

Inherits:
AbstractActor show all
Defined in:
app/actors/hyrax/actors/transfer_request_actor.rb

Overview

Notify the provided owner that their proxy wants to make a deposit on their behalf

Instance Attribute Summary

Attributes inherited from AbstractActor

#next_actor

Instance Method Summary collapse

Methods inherited from AbstractActor

#initialize

Constructor Details

This class inherits a constructor from Hyrax::Actors::AbstractActor

Instance Method Details

#create(env) ⇒ Boolean

Returns true if create was successful.

Parameters:

Returns:

  • (Boolean)

    true if create was successful


8
9
10
# File 'app/actors/hyrax/actors/transfer_request_actor.rb', line 8

def create(env)
  next_actor.create(env) && create_proxy_deposit_request(env)
end