Module: Neo4j::Shared::PermittedAttributes

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::ForbiddenAttributesProtection
Included in:
ActiveNode, ActiveRel
Defined in:
lib/neo4j/shared/permitted_attributes.rb

Instance Method Summary collapse

Instance Method Details

#attributes=(attributes) ⇒ Object



11
12
13
14
# File 'lib/neo4j/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/neo4j/shared/permitted_attributes.rb', line 6

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