Module: Friendly::Document::Convenience

Extended by:
Mixin
Included in:
Friendly::Document
Defined in:
lib/friendly/document/convenience.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Mixin

included

Instance Method Details

#update_attributes(attributes) ⇒ Object



35
36
37
38
# File 'lib/friendly/document/convenience.rb', line 35

def update_attributes(attributes)
  self.attributes = attributes
  save
end