Module: Livefyre::Model
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/livefyre/model_extensions.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary (collapse)
-
- (Object) refresh_livefyre
Ping Livefyre to refresh this user's record.
Instance Method Details
- (Object) refresh_livefyre
Ping Livefyre to refresh this user's record
6 7 8 9 10 11 12 |
# File 'lib/livefyre/model_extensions.rb', line 6 def refresh_livefyre if _livefyre_callback _livefyre_callback.call( self, self.send(:_livefyre_id) ) else Livefyre::User.refresh( self.send(:_livefyre_id) ) end end |