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

#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

#update_cached, #vet_person

Methods included from Housekeeping::Timestamps

#data_breakdown_for_chartkick_recent

Methods included from Housekeeping::Users

#set_created_by_id, #set_updated_by_id

Methods included from ActiverecordUtilities

#trim_attributes

Class Method Details

+ (Object) human_name



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

def self.human_name
  'Creator'
end