Module: ActiveGraph::Shared::PermittedAttributes

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::ForbiddenAttributesProtection
Included in:
Node, Relationship
Defined in:
lib/active_graph/shared/permitted_attributes.rb

Instance Method Summary collapse

Instance Method Details

#attributes=(attributes) ⇒ Object



11
12
13
14
# File 'lib/active_graph/shared/permitted_attributes.rb', line 11

def attributes=(attributes)
  attributes = sanitize_input_parameters(attributes)
  super(attributes)
end

#process_attributes(attributes) ⇒ Object



6
7
8
9
# File 'lib/active_graph/shared/permitted_attributes.rb', line 6

def process_attributes(attributes)
  attributes = sanitize_input_parameters(attributes)
  super(attributes)
end