Class: AttributionCreator

Inherits:
Role::AttributionRole show all
Defined in:
app/models/attribution_creator.rb

Overview

Namespaced at root for convenience sake (so we don't have to reference it as Role::SourceRole::SourceAuthor)

Instance Attribute Summary

Attributes inherited from Role

#organization_id, #person_id, #position, #project_id, #role_object_id, #role_object_type, #type

Attributes included from Housekeeping::Users

#by

Class Method Summary collapse

Methods inherited from Role::AttributionRole

#set_project_if_possible

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods inherited from Role

#agent_is_legal, #agent_present, #agent_type, #is_last_role?, #only_one_agent, #organization_allowed?, #update_cached

Methods included from Housekeeping::Timestamps

#data_breakdown_for_chartkick_recent

Methods included from Housekeeping::Users

#set_created_by_id, #set_updated_by_id

Class Method Details

.human_nameObject



4
5
6
# File 'app/models/attribution_creator.rb', line 4

def self.human_name
  'Creator'
end