Module: Livefyre::Model::ClassMethods
- Defined in:
- lib/livefyre/model_extensions.rb
Instance Method Summary (collapse)
-
- (nil) livefyre_user(options = {}, &block)
Adds callback handlers and additional methods for treating this record as a user record.
Instance Method Details
- (nil) livefyre_user(options = {}, &block)
Adds callback handlers and additional methods for treating this record as a user record.
57 58 59 60 61 |
# File 'lib/livefyre/model_extensions.rb', line 57 def livefyre_user( = {}, &block) @livefyre_options = @livefyre_update_block = block after_save :update_livefyre_if_fields_changed end |