Class: Hyrax::Actors::RootActor
- Inherits:
-
Object
- Object
- Hyrax::Actors::RootActor
- Defined in:
- app/actors/hyrax/actors/root_actor.rb
Instance Attribute Summary collapse
-
#cloud_resources ⇒ Object
readonly
Returns the value of attribute cloud_resources.
-
#curation_concern ⇒ Object
readonly
Returns the value of attribute curation_concern.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
- #create(_) ⇒ Object
-
#initialize(curation_concern, user, _more_actors, ability: nil) ⇒ RootActor
constructor
A new instance of RootActor.
- #update(_) ⇒ Object
Constructor Details
#initialize(curation_concern, user, _more_actors, ability: nil) ⇒ RootActor
Returns a new instance of RootActor.
5 6 7 8 9 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 5 def initialize(curation_concern, user, _more_actors, ability: nil) @curation_concern = curation_concern @user = user @ability = ability end |
Instance Attribute Details
#cloud_resources ⇒ Object (readonly)
Returns the value of attribute cloud_resources.
4 5 6 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 4 def cloud_resources @cloud_resources end |
#curation_concern ⇒ Object (readonly)
Returns the value of attribute curation_concern.
4 5 6 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 4 def curation_concern @curation_concern end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
4 5 6 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 4 def user @user end |
Instance Method Details
#create(_) ⇒ Object
11 12 13 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 11 def create(_) true end |
#update(_) ⇒ Object
15 16 17 |
# File 'app/actors/hyrax/actors/root_actor.rb', line 15 def update(_) true end |