module Crm::Helpers::Attributes

Public Class Methods

included(base) click to toggle source
# File lib/crm/helpers/attributes.rb, line 6
def self.included(base)
  base.extend ClassMethods
end

Public Instance Methods

assign_crm_attributes(new_attributes) click to toggle source
# File lib/crm/helpers/attributes.rb, line 110
def assign_crm_attributes(new_attributes)
  @crm_attributes = crm_attributes.merge(new_attributes)
end
crm_attributes() click to toggle source
# File lib/crm/helpers/attributes.rb, line 114
def crm_attributes
  @crm_attributes ||= {}
end