Class: ActivityPermissionEngine::AllowActivity::Request

Inherits:
Object
  • Object
show all
Includes:
Framework::Request
Defined in:
lib/activity_permission_engine/allow_activity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Framework::Request

#response

Constructor Details

#initialize(activity_ref, role_ref) ⇒ Request

Returns a new instance of Request.



18
19
20
21
# File 'lib/activity_permission_engine/allow_activity.rb', line 18

def initialize(activity_ref, role_ref)
  @activity_ref = activity_ref
  @role_ref = role_ref
end

Instance Attribute Details

#activity_refObject (readonly)

Returns the value of attribute activity_ref.



22
23
24
# File 'lib/activity_permission_engine/allow_activity.rb', line 22

def activity_ref
  @activity_ref
end

#role_refObject (readonly)

Returns the value of attribute role_ref.



22
23
24
# File 'lib/activity_permission_engine/allow_activity.rb', line 22

def role_ref
  @role_ref
end