Sha256: 521c1b6c12eeb27d12514135083c5fa51eff9ee41f934d67290110802181ebe0
Contents?: true
Size: 390 Bytes
Versions: 13
Compression:
Stored size: 390 Bytes
Contents
module CurationConcerns # A simple data object for holding a user, work and their workflow proxies class WorkflowActionInfo def initialize(work, user) @work = work @user = user @entity = PowerConverter.convert(work, to: :sipity_entity) @agent = PowerConverter.convert(user, to: :sipity_agent) end attr_reader :entity, :agent, :user, :work end end
Version data entries
13 entries across 13 versions & 1 rubygems